Skip to content

Instantly share code, notes, and snippets.

@mhevery
Created June 13, 2012 18:37
Show Gist options
  • Save mhevery/2925715 to your computer and use it in GitHub Desktop.
Save mhevery/2925715 to your computer and use it in GitHub Desktop.
angular-issue-1051
<html ng-app>
<head>
<script type="text/javascript" src="http://code.angularjs.org/1.0.0rc12/angular-1.0.0rc12.min.js"></script>
<script>
function Test($scope, $location) {
$scope.away = 'away';
}
</script>
</head>
<body ng-controller="Test">
<a href="/away.html">{{away}}</a>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment