title: How to use AngularJS scope.$bind
body: <p>I have the following controller which works fine:</p>
  
  <pre><code>function Controller() {}
  
  Controller.prototype = {
      getResult: function(project) {
          var that = this;
  
          jQuery.ajax({
              async: false,
              url: "/my-service/call?project=" + project,
              dataType: "json",
              success: function(data) { 
                  that.result = data;
              }
          });
      }
  };
  </code></pre>
  
  <p>I'd like to use AngularJS  .scope.$bind to see if I could eliminate the 'var that = this;' hack.  But the following doesn't work:</p>
  
  <pre><code>function Controller() {}
  
  Controller.prototype = {
      getResult: function(project) {
          angular.scope.$bind(jQuery.ajax({
              async: false,
              url: "/my-service/call?project=" + project,
              dataType: "json",
              success: function(data) { 
                  this.result = data;
              }
          }))();
      }
  };
  </code></pre>
  
  <p>What am I missing?</p>