aboutsummaryrefslogtreecommitdiffstats
path: root/regression/issue-353.html
diff options
context:
space:
mode:
Diffstat (limited to 'regression/issue-353.html')
-rw-r--r--regression/issue-353.html18
1 files changed, 18 insertions, 0 deletions
diff --git a/regression/issue-353.html b/regression/issue-353.html
new file mode 100644
index 00000000..8410adf4
--- /dev/null
+++ b/regression/issue-353.html
@@ -0,0 +1,18 @@
+<!DOCTYPE HTML>
+<html xmlns:ng="http://angularjs.org">
+ <script type="text/javascript" src="../build/angular.js" ng:autobind></script>
+ <script type="text/javascript">
+ function Cntl($route) {
+ $route.when('/item1', {});
+ $route.when('/item2', {});
+ $route.onChange(function() {
+ alert('change');
+ });
+ }
+ Cntl.$inject = ['$route'];
+ </script>
+ <body ng:controller="Cntl">
+ <a href="#/item1">test</a>
+ <a href="#/item2">test</a>
+ </body>
+</html>