Created
June 12, 2016 08:23
-
-
Save Guvenir/d0c6409e59d41bf5be5bbb2ac347bf6d to your computer and use it in GitHub Desktop.
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 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