Skip to content

Instantly share code, notes, and snippets.

@svetlyak40wt
Created July 9, 2014 11:29
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 svetlyak40wt/397ab695073c2fdaab03 to your computer and use it in GitHub Desktop.
Save svetlyak40wt/397ab695073c2fdaab03 to your computer and use it in GitHub Desktop.
console_app.controller("MyCtrl", list("$scope", "$http", (function($scope, $http) {
return console.log("DONE");
})));
console_app.controller("MyCtrl", list($scope, $http, (function($scope, $http) {
return console.log("DONE");
})));
(mac controller name modules ...body
`(console_app.controller ,name (list ,...modules
(fn ,...modules
(do ,...body)))
))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment