Skip to content

Instantly share code, notes, and snippets.

@a2f0
Created February 1, 2015 15:44
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 a2f0/0be3e80db9b21ce7b989 to your computer and use it in GitHub Desktop.
Save a2f0/0be3e80db9b21ce7b989 to your computer and use it in GitHub Desktop.
module dependency resolution
angular.module('myApp', ['ngRoute', 'config']) ...
.controller('myController',['$scope', 'myApp', 'CONFIG', function($scope, myApp, CONFIG){
console.log("CONFIG " + CONFIG);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment