mirror of
https://github.com/Hopiu/angular.js.git
synced 2026-05-25 06:13:44 +00:00
docs($resource): fix missing punctuation
This commit is contained in:
parent
dba6bc73e8
commit
e47f8d2b96
1 changed files with 3 additions and 3 deletions
|
|
@ -83,9 +83,9 @@
|
||||||
*
|
*
|
||||||
* Calling these methods invoke an {@link ng.$http} with the specified http method,
|
* Calling these methods invoke an {@link ng.$http} with the specified http method,
|
||||||
* destination and parameters. When the data is returned from the server then the object is an
|
* destination and parameters. When the data is returned from the server then the object is an
|
||||||
* instance of the resource class `save`, `remove` and `delete` actions are available on it as
|
* instance of the resource class. The actions `save`, `remove` and `delete` are available on it
|
||||||
* methods with the `$` prefix. This allows you to easily perform CRUD operations (create, read,
|
* as methods with the `$` prefix. This allows you to easily perform CRUD operations (create,
|
||||||
* update, delete) on server-side data like this:
|
* read, update, delete) on server-side data like this:
|
||||||
* <pre>
|
* <pre>
|
||||||
var User = $resource('/user/:userId', {userId:'@id'});
|
var User = $resource('/user/:userId', {userId:'@id'});
|
||||||
var user = User.get({userId:123}, function() {
|
var user = User.get({userId:123}, function() {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue