title: error TS2339: Property 'modal' does not exist on type 'JQuery'
body: <p>I'm using Typescript with AngularJS.
  I have a problem with modals using typed definition of jQuery library.
  I get the following error: 'error TS2339: Property 'modal' does not exist on type 'JQuery'.'</p>
  
  <p>Version: jQuery library, version 1.10.x / 2.0.x
  Definitions: <a href="https://github.com/borisyankov/DefinitelyTyped" rel="noreferrer">https://github.com/borisyankov/DefinitelyTyped</a></p>
  
  <p>Code</p>
  
  <pre><code>$scope.delete = function (id) {
    Photo.get({id: id}, function(result) {
       $scope.photo = result;
       $('#deletePhotoConfirmation').modal('show');// error line 
    });
  };
  </code></pre>
  
  <p>I'm referencing to <code>jquery.d.ts</code> in <code>angular.d.ts</code></p>
  
  <pre><code>&lt;reference path="../jquery/jquery.d.ts" /&gt;
  </code></pre>
  
  <p>and my global vendor reference file looks like:</p>
  
  <pre><code>&lt;reference path='../vendor/types/angular/angular.d.ts' /&gt;
  &lt;reference path='../vendor/types/angular/angular-mocks.d.ts' /&gt;
  &lt;reference path='../vendor/types/jasmine/jasmine.d.ts' /&gt;
  </code></pre>