Skip to content

Instantly share code, notes, and snippets.

@sunkay
Created April 21, 2013 20:50
Show Gist options
  • Save sunkay/5431027 to your computer and use it in GitHub Desktop.
Save sunkay/5431027 to your computer and use it in GitHub Desktop.
main.html which using angular ng-view
<html ng-app="cotd">
<head>
<title>Check out your device</title>
<link rel="stylesheet" href="../bootstrap/css/bootstrap.css">
</head>
<body>
<h2>List of Devices</h2>
<div ng-view></div>
<script src="http://ajax.googleapis.com/ajax/libs/angularjs/1.0.6/angular.min.js"></script>
<script src="deviceService.js"></script>
<script src="cotd.js"></script>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment