Last active
August 29, 2015 14:02
-
-
Save andyshora/34d527496cbbfc52fd30 to your computer and use it in GitHub Desktop.
JSBin AngularJS Started Template
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
<!doctype html> | |
<html> | |
<head> | |
<meta charset="utf-8"> | |
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> | |
<title>Test</title> | |
<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1"> | |
<script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.3.0-beta.11/angular.min.js"></script> | |
<body ng-app="myApp"> | |
<div ng-controller="MainController"> | |
{{test}} | |
</div> | |
</body> | |
</html> |
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
var myApp = angular.module('myApp',[]); | |
myApp.controller('MainController', ['$scope', function($scope) { | |
$scope.test = 'testing 123'; | |
}]); |
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
body { | |
font-size: 12px; | |
font-family: Helvetica, Arial; | |
background: white; | |
margin: 0; | |
padding: 0; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment