This is because of a bug in the angular-cli. May hopefully be resolved so this commit can be reverted.