mirror of
https://github.com/Hopiu/angular.js.git
synced 2026-05-17 19:11:08 +00:00
docs($resource): fix bad indentation producing a code block
This commit is contained in:
parent
027f20be1f
commit
37bdcc984a
1 changed files with 3 additions and 3 deletions
|
|
@ -183,9 +183,9 @@
|
||||||
});
|
});
|
||||||
</pre>
|
</pre>
|
||||||
*
|
*
|
||||||
* It's worth noting that the success callback for `get`, `query` and other method gets passed
|
* It's worth noting that the success callback for `get`, `query` and other method gets passed
|
||||||
* in the response that came from the server as well as $http header getter function, so one
|
* in the response that came from the server as well as $http header getter function, so one
|
||||||
* could rewrite the above example and get access to http headers as:
|
* could rewrite the above example and get access to http headers as:
|
||||||
*
|
*
|
||||||
<pre>
|
<pre>
|
||||||
var User = $resource('/user/:userId', {userId:'@id'});
|
var User = $resource('/user/:userId', {userId:'@id'});
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue