Skip to content

Instantly share code, notes, and snippets.

@chandermani
Created February 3, 2014 04:33
Show Gist options
  • Save chandermani/8778893 to your computer and use it in GitHub Desktop.
Save chandermani/8778893 to your computer and use it in GitHub Desktop.
angular.module('module1',[]); //declares a module. Note the second parameter which takes dependencies
angular.module('module1'); //gets a module with name module1, no second parameter
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment