Created
November 10, 2013 00:10
-
-
Save diverted247/7391833 to your computer and use it in GitHub Desktop.
The essence of the module API in Angular 1.2
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
var module = angular.module( name, [] ) | |
module.config( [ name , function ]) | |
module.controller( name , [ function ] ) | |
module.directive( name , [ name , function(){ return function } ] ) | |
module.filter( name , [ name , function(){ return function } ] ) | |
module.value( name , value ) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment