title: $resource callback (error and success)
body: <p>I´m using AngularJS 1.1.3 to use the new $resource with promises...</p>
  
  <p>How can I get the callback from that?
  I tried the same way I did with $http :</p>
  
  <pre><code>$resource.get('...').
    success(function(data, status) {
        alert(data);
     }).
     error(function(data, status) {
        alert((status);
     });
  </code></pre>
  
  <p>But there is no 'success' neither 'error' functions...</p>
  
  <p>I also tried that :</p>
  
  <pre><code>$resource.get({ id: 10 },function (data) {
     console.log('success, got data: ', data);
   }, function (err) {
     alert('request failed');
   });
  </code></pre>
  
  <p>That always print "success, got data" even if the return is a <strong>404</strong> ...</p>
  
  <p>Any idea?</p>
  
  <p>Thanks</p>