Last active
December 20, 2015 09:09
-
-
Save mustmodify/6105491 to your computer and use it in GitHub Desktop.
A gist that you can use in plnkr as a baseline angularjs app... for demonstrating your problems / confusion. Based on https://gist.github.com/ProLoser/3172544 ... edited because of issues with raw.github.com mime type.
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 app = angular.module('plunker', []); | |
app.controller('MainCtrl', function($scope) { | |
$scope.name = 'World'; | |
}); |
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 ng-app="plunker"> | |
<head> | |
<title>AngularJS Plunker</title> | |
<!-- angular --> | |
<script src="http://ajax.googleapis.com/ajax/libs/angularjs/1.0.7/angular.js"></script> | |
<!-- your app.js file --> | |
<script src="app.js"></script> | |
<!-- bootstrap css --> | |
<link rel="stylesheet" href="http://netdna.bootstrapcdn.com/twitter-bootstrap/2.3.2/css/bootstrap-combined.min.css" /> | |
<!-- your style.css file --> | |
<link href="style.css" rel="stylesheet" /> | |
</head> | |
<body ng-controller="MainCtrl"> | |
Hello {{name}}! | |
</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
/* Put your css in here */ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment