Skip to content

Instantly share code, notes, and snippets.

@lcfd
Last active March 16, 2016 14:02
Show Gist options
  • Save lcfd/15bc0a0ce190cd494988 to your computer and use it in GitHub Desktop.
Save lcfd/15bc0a0ce190cd494988 to your computer and use it in GitHub Desktop.
Bootstrap v4 - Angular 1.5.0 boilerplate
<!doctype html>
<html ng-app="*">
<head>
<title>Title</title>
<meta http-equiv="Content-type" content="text/html;charset=UTF-8">
<link rel="stylesheet" href="https://cdn.rawgit.com/twbs/bootstrap/v4-dev/dist/css/bootstrap.css">
<link rel="stylesheet" href="site.css" type="text/css">
</head>
<body ng-controller="*">
<div class="container"></div>
<p ng-bind='var'></p>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.4/jquery.min.js"></script>
<script src="https://cdn.rawgit.com/twbs/bootstrap/v4-dev/dist/js/bootstrap.js"></script>
<script src="https://code.angularjs.org/1.5.0-rc.2/angular.min.js"></script>
<script src="https://code.angularjs.org/1.5.0-rc.2/angular-route.min.js"></script>
<script type="text/javascript">
var app = angular.module('*', []);
app.controller('*', [
'$scope',
function($scope) {
$scope.var = 0;
}
]);
</script>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment