Skip to content

Instantly share code, notes, and snippets.

@leog
Last active August 29, 2015 14:22
Show Gist options
  • Save leog/9e81c0e3bba1d0714db3 to your computer and use it in GitHub Desktop.
Save leog/9e81c0e3bba1d0714db3 to your computer and use it in GitHub Desktop.
Very simple AngularJS module to illustrate how to define a dependant module
angular
.module(‘second’, [‘first’])
.filter(‘goodbye’, function() {
return function(name) {
return ‘Good bye, ‘ + name + ‘!’;
}
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment