Created
December 11, 2013 14:56
-
-
Save nhajratw/7911774 to your computer and use it in GitHub Desktop.
angular-lineman-template app.js rewritten as app.coffee
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.