title: Get state of Angular deferred?
body: <p>With jQuery deferreds I'm used to be able to check the current state like this:</p>
  
  <pre><code>var defer = $.Deferred();
  defer.state();  //Returns the state of the deferred, eg 'resolved'
  </code></pre>
  
  <p>Is there a way to do the same for Angular deferreds? (or even better promises)</p>