Created
December 4, 2013 15:09
-
-
Save fredrikbonander/7789067 to your computer and use it in GitHub Desktop.
bare angular VS amd
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** AMD **/ | |
define([ | |
'angular' | |
'common/security/constants' | |
], function (angular) { | |
'use strict'; | |
angular.module('security.someModule', [ | |
'security.constants' | |
]) | |
.service('login', ['$http', function ($http) { | |
}]); | |
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
angular.module('security.someModule', [ | |
'security.constants' | |
]) | |
.service('login', ['$http', function ($http) { | |
}]); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment