title: VS2015 build of TypeScript gives "TS2304:Build cannot find angular" error despite presence of angular.d.ts file
body: <p>I'm new to TypeScript and have hit problems building my first VS2015 solution which uses the AngularJS framework and the Toastr library.</p>
  
  <p>VS2015 is the RTM version running under Windows 10 Pro Edition. TypeScript is version 1.6.2. Angular is version 1.5.0-beta.2</p>
  
  <p>Attempts to reference angular or toastr in my TypeScript files give "TS2304: Build cannot find name 'angular'" (or 'toastr')  errors when attempting to build the new project, despite having installed the appropriate d.ts files from Definitely Typed.</p>
  
  <p>The angular library definition file angular.d.ts is there under the typings directory in a sub-directory named angularjs and includes the line:</p>
  
  <pre><code>declare var angular: angular.IAngularStatic; 
  </code></pre>
  
  <p>in the tsd.json file I see the following:</p>
  
  <pre><code>  "installed": {
      "angularjs/angular.d.ts": {
        "commit": "e48f0c7a0a5f9e9d35e9cfd7506461bab435cb49"
      },
  </code></pre>
  
  <p>I was originally getting the error with Resharper 10 but have suspended it to remove that from the possible causes, but I get the TS2304 error when I try and build even with Resharper disabled.</p>
  
  <p>What have I missed?  How can I get TypeScript to recognise the two installed type definition files so I can successfully build my project?</p>