aboutsummaryrefslogtreecommitdiffstats
path: root/lib/jquery
diff options
context:
space:
mode:
Diffstat (limited to 'lib/jquery')
0 files changed, 0 insertions, 0 deletions
an class="p">> angular.module.ng('routeConfig', function($route) { $route.when('/view1', {controller: MyCtrl, template: 'view1.html'}); $route.when('/view2', {controller: MyCtrl, template: 'view2.html'}); function MyCtrl() {}; }, {$inject: ['$route']}); </script> </head> <body ng:init="$service('$window').$root = this"> <p> <a href="#/view1">view1</a> | <a href="#/view2">view2</a> | <a href="#">blank</a> </p> view: <ng:view></ng:view> </body> </html>