title: window.bind() similar functionality using AngularJS
body: <p>I want to set the context of a function and pass it as a callback. For that I am doing this.</p>
  
  <pre><code>myController.myService.validateToken(param)
      .then( myController.myService.getToken.bind( myController.myService ) );
  </code></pre>
  
  <p><strong>myController.myService.getToken.bind( myController.myService )</strong></p>
  
  <p>But I am not sure whether it's the right approach or not?</p>
  
  <p>Does Angular provide similar functionality as <code>bind()</code>?</p>