Cannot find module @angular/core + angular2
<p>I am trying to create an Angular 2 application using Typescript in Visual Studio 2015. I have installed npm on my machine. When I compile my application , I am getting errors cannot find module '@angular/core'. 
It is referred in all the ts files under the node_modules folder in the import statement.
For e.g.</p>

<pre><code>import { ElementRef, AfterViewInit, OnDestroy, DoCheck, EventEmitter, IterableDiffers } from '@angular/core';
</code></pre>

<p>I am currently getting around 500 plus errors. The error goes off when I replace it with  'angular2/core '. Also just to let you know , I am using PrimeNG UI Components in my project as well.</p>

<p>Could somebody help ? I don't understand why it is looking at @angular/core ?</p>