Skip to content

Instantly share code, notes, and snippets.

@leblancmeneses
Last active January 1, 2016 15:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save leblancmeneses/8168088 to your computer and use it in GitHub Desktop.
Save leblancmeneses/8168088 to your computer and use it in GitHub Desktop.
angular.module - Creation versus Retrieval Example
// registers module with dependencies if any, empty array otherwise
angular.module('Core', ['kendo.directives'])
// gains access to module registration pointer to append more registrations into module
// needed when files are bundled
angular.module('Core')
.directive('requestVerificationToken', [function () {
return {
.....
};
}]);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment