Skip to content

Instantly share code, notes, and snippets.

@nhajratw
Created December 11, 2013 14:56
Show Gist options
  • Save nhajratw/7911774 to your computer and use it in GitHub Desktop.
Save nhajratw/7911774 to your computer and use it in GitHub Desktop.
angular-lineman-template app.js rewritten as app.coffee
app = angular.module("app", ["ngResource", "ngRoute"]).run ($rootScope) ->
# adds some basic utilities to the $rootScope for debugging purposes
$rootScope.log = (thing) ->
console.log(thing)
$rootScope.alert = (thing) ->
alert(thing)
@theotherzach
Copy link

@nhajratw Would you be able to push your repo to github so I can pull it down? I ran into some issues with ngtemplates that were non-obvious but I assumed that they were because I was working on a Chrome extension. If I can take a look I may be able to come up with something.

@searls
Copy link

searls commented Dec 15, 2013

Nayan, would you be able to share the project? I've changed enough about the lineman angular template lately that I want to aggressively take the blame, but that doesn't really help solve your problem.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment