Created
March 15, 2013 18:08
-
-
Save csexton/5171823 to your computer and use it in GitHub Desktop.
Plunker Template for AngularJS and CoffeeScript: http://plnkr.co/edit/DlwpK83bwcpm78UrKLaU
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('angularjs-starter', []) | |
app.controller 'MainCtrl', ($scope) -> | |
$scope.name = 'World' | |
angular.bootstrap(document, ['angularjs-starter']) |
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 lang="en"> | |
<meta charset="utf-8"> | |
<title>Custom Plunker</title> | |
<script src="//ajax.googleapis.com/ajax/libs/angularjs/1.0.3/angular.min.js"></script> | |
<script src="//cdnjs.cloudflare.com/ajax/libs/coffee-script/1.3.3/coffee-script.min.js"></script> | |
<link rel="stylesheet" href="style.css"> | |
<script> | |
document.write('<base href="' + document.location + '" />'); | |
</script> | |
<script type="text/coffeescript" src="app.coffee"></script> | |
</head> | |
<body ng-controller="MainCtrl"> | |
<h1>Hello {{name}}</h1> | |
</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
/* CSS goes here */ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment