vendor/assets/javascripts/angular-resource.js in angularjs-rails-1.2.15 vs vendor/assets/javascripts/angular-resource.js in angularjs-rails-1.2.16

- old
+ new

@@ -1,7 +1,7 @@ /** - * @license AngularJS v1.2.15 + * @license AngularJS v1.2.16 * (c) 2010-2014 Google, Inc. http://angularjs.org * License: MIT */ (function(window, angular, undefined) {'use strict'; @@ -201,9 +201,12 @@ * {@link ngRoute.$routeProvider resolve section of $routeProvider.when()} to defer view * rendering until the resource(s) are loaded. * * On failure, the promise is resolved with the {@link ng.$http http response} object, without * the `resource` property. + * + * If an interceptor object was provided, the promise will instead be resolved with the value + * returned by the interceptor. * * - `$resolved`: `true` after first server interaction is completed (either with success or * rejection), `false` before that. Knowing if the Resource has been resolved is useful in * data-binding. *