-
-
Save ggoodman/3662659 to your computer and use it in GitHub Desktop.
[email protected] + Coffee
This file contains hidden or 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('plunker', []) | |
app.controller 'MainCtrl', ($scope) -> | |
$scope.name = 'World' | |
angular.bootstrap(document, ['plunker']) |
This file contains hidden or 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
<!doctype html> | |
<html> | |
<head> | |
<meta charset="utf-8"> | |
<title>AngularJS Plunker</title> | |
<script>document.write("<base href=\"" + document.location + "\" />");</script> | |
<link rel="stylesheet" href="style.css"> | |
<script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.0.2/angular.js"></script> | |
<script src="http://coffeescript.org/extras/coffee-script.js"></script> | |
<script type="text/coffeescript" src="app.coffee"></script> | |
</head> | |
<body ng-controller="MainCtrl"> | |
Hello {{name}}! | |
</body> | |
</html> |
This file contains hidden or 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
{ | |
"tags": ["angularjs", "coffee"] | |
} |
This file contains hidden or 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
/* Put your css in here */ | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment