diff options
Diffstat (limited to 'example')
| -rw-r--r-- | example/buzz/buzz.js | 2 | ||||
| -rw-r--r-- | example/personalLog/test/personalLogSpec.js | 2 | ||||
| -rw-r--r-- | example/temp.html | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/example/buzz/buzz.js b/example/buzz/buzz.js index 40622369..7e7f2f66 100644 --- a/example/buzz/buzz.js +++ b/example/buzz/buzz.js @@ -1,4 +1,4 @@ -angular.module.NG('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/personalLog/test/personalLogSpec.js b/example/personalLog/test/personalLogSpec.js index 5e3a8409..e103d06d 100644 --- a/example/personalLog/test/personalLogSpec.js +++ b/example/personalLog/test/personalLogSpec.js @@ -2,7 +2,7 @@ describe('example.personalLog.LogCtrl', function() { var logCtrl; function createNotesCtrl() { - var injector = angular.injector('NG', 'NG_MOCK'); + var injector = angular.injector('ng', 'ngMock'); var scope = injector('$rootScope'); scope.$cookies = injector('$cookies'); return scope.$new(example.personalLog.LogCtrl); diff --git a/example/temp.html b/example/temp.html index bdcb4094..7c46eb7f 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.module.NG('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'}); |
