diff --git a/src/ngResource/resource.js b/src/ngResource/resource.js index c1d6ec8a8..054fb2523 100644 --- a/src/ngResource/resource.js +++ b/src/ngResource/resource.js @@ -488,7 +488,7 @@ angular.module('ngResource', ['ng']). * $resourceProvider.defaults.actions.update = { * method: 'PUT' * }; - * }); + * }]); * ``` * * Or you can even overwrite the whole `actions` list and specify your own: