Skip to content

Instantly share code, notes, and snippets.

@thallisphp
Created January 10, 2014 16:43
Show Gist options
  • Save thallisphp/8357764 to your computer and use it in GitHub Desktop.
Save thallisphp/8357764 to your computer and use it in GitHub Desktop.
Exemplo de controller AngularJS com dependências
Controller = (scope, location) ->
dependencias = [
'scope'
'location'
Controller
]
App.controller dependencias
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment