Skip to content

Commit b826bf5

Browse files
committed
adding app.js that creates the module
1 parent 564e8a0 commit b826bf5

3 files changed

Lines changed: 7 additions & 2 deletions

File tree

src/app.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
(function() {
2+
'use strict';
3+
angular
4+
.module('mangular', []);
5+
})();

src/categories.service.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
'use strict';
33

44
angular
5-
.module('mangular', [])
5+
.module('mangular')
66
.service('Categories', Service);
77

88
Service.$inject = ['Restangular', '$log'];

src/products.service.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
'use strict';
33

44
angular
5-
.module('mangular', [])
5+
.module('mangular')
66
.service('Products', Service);
77

88
Service.$inject = ['Restangular','$stateParams','$log'];

0 commit comments

Comments
 (0)