NOTE: for best results, make sure your project was created using the Angular-CLI.
npm install angular/{core,common,compiler,platform-browser,platform-browser-dynamic,http,router,forms,compiler-cli,tsc-wrapped,platform-server}
You don't have to do this step if you project already has angular 2 and all of these dependencies installed. Just make sure that the compiler
is in there.