Skip to content

Commit

Permalink
module fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
mackelito committed Apr 19, 2016
1 parent 1da55f6 commit 1014552
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
9 changes: 7 additions & 2 deletions dist/mangular.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
(function() {
'use strict';
angular.module('mangular', []).service('Categories', Service);
angular.module('mangular', []);
})();

(function() {
'use strict';
angular.module('mangular').service('Categories', Service);
Service.$inject = [ 'Restangular', '$log' ];
function Service(Restangular, $log) {
$log.info('--- Categories service start ---');
Expand All @@ -27,7 +32,7 @@

(function() {
'use strict';
angular.module('mangular', []).service('Products', Service);
angular.module('mangular').service('Products', Service);
Service.$inject = [ 'Restangular', '$stateParams', '$log' ];
function Service(Restangular, $stateParams, $log) {
$log.info('--- Products service start ---');
Expand Down
2 changes: 1 addition & 1 deletion dist/mangular.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 1014552

Please sign in to comment.