docs($resourceProvider): include '$' in di in example

The injection argument is missing the '$' in the two examples.  The code fails as written.  This change corrects it.

(#15099)
This commit is contained in:
sethbattin
2016-09-08 08:18:32 -05:00
committed by Martin Staffa
parent d882fde2e5
commit 8ec3f4b518
+2 -2
View File
@@ -475,7 +475,7 @@ angular.module('ngResource', ['ng']).
* ```js
* angular.
* module('myApp').
* config(['resourceProvider', function ($resourceProvider) {
* config(['$resourceProvider', function ($resourceProvider) {
* $resourceProvider.defaults.actions.update = {
* method: 'PUT'
* };
@@ -487,7 +487,7 @@ angular.module('ngResource', ['ng']).
* ```js
* angular.
* module('myApp').
* config(['resourceProvider', function ($resourceProvider) {
* config(['$resourceProvider', function ($resourceProvider) {
* $resourceProvider.defaults.actions = {
* create: {method: 'POST'}
* get: {method: 'GET'},