Skip to content

Instantly share code, notes, and snippets.

@xaiwant
Created May 31, 2018 01:08
Show Gist options
  • Save xaiwant/303ca7cbb7bbac5cac5f02b3a9ce9792 to your computer and use it in GitHub Desktop.
Save xaiwant/303ca7cbb7bbac5cac5f02b3a9ce9792 to your computer and use it in GitHub Desktop.
<html>
<head>
<title>Routing in AngularJS</title>
<script src="http://ajax.googleapis.com/ajax/libs/angularjs/1.2.26/angular.min.js"></script>
<script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.2.26/angular-route.min.js"></script>
<script type= "text/javascript"src="aroute.js"></script>
</head>
<body ng-app="myApp">
My AngularJS Application.
<div ng-view>
</div>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment