Skip to content

Instantly share code, notes, and snippets.

@fredrikbonander
Created December 4, 2013 15:09
Show Gist options
  • Save fredrikbonander/7789067 to your computer and use it in GitHub Desktop.
Save fredrikbonander/7789067 to your computer and use it in GitHub Desktop.
bare angular VS amd
/** AMD **/
define([
'angular'
'common/security/constants'
], function (angular) {
'use strict';
angular.module('security.someModule', [
'security.constants'
])
.service('login', ['$http', function ($http) {
}]);
});
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