diff options
Diffstat (limited to 'example')
| -rw-r--r-- | example/buzz/buzz.js | 2 | ||||
| -rw-r--r-- | example/temp.html | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/example/buzz/buzz.js b/example/buzz/buzz.js index 3f29d300..40622369 100644 --- a/example/buzz/buzz.js +++ b/example/buzz/buzz.js @@ -1,4 +1,4 @@ -angular.service('myApplication', function($resource){ +angular.module.NG('myApplication', function($resource){ this.Activity = $resource( 'https://www.googleapis.com/buzz/v1/activities/:userId/:visibility/:activityId/:comments', {alt:'json', callback:'JSON_CALLBACK'}, diff --git a/example/temp.html b/example/temp.html index 2370c704..bdcb4094 100644 --- a/example/temp.html +++ b/example/temp.html @@ -4,7 +4,7 @@ <title>angular dev sandbox</title> <script src="../src/angular-bootstrap.js" ng:autobind></script> <script> - angular.service('routeConfig', function($route) { + angular.module.NG('routeConfig', function($route) { $route.when('/view1', {controller: MyCtrl, template: 'view1.html'}); $route.when('/view2', {controller: MyCtrl, template: 'view2.html'}); |
