Skip to content

Instantly share code, notes, and snippets.

@Guvenir
Created June 12, 2016 08:23
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Guvenir/d0c6409e59d41bf5be5bbb2ac347bf6d to your computer and use it in GitHub Desktop.
Save Guvenir/d0c6409e59d41bf5be5bbb2ac347bf6d to your computer and use it in GitHub Desktop.
<!DOCTYPE html>
<html lang="en">
<head>
<title>AngularJS Routes example</title>
<base href="/" />
<script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.5.6/angular.min.js"></script>
<script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.5.6/angular-route.min.js"></script>
<script src="testCtrl.js"></script>
</head>
<body ng-app="sampleApp">
<a href="route1">Route 1</a><br/>
<a href="route2">Route 2</a><br/>
<div ng-view></div>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment