diff options
author | CNlucius <lukai1@huawei.com> | 2016-09-13 11:40:12 +0800 |
---|---|---|
committer | CNlucius <lukai1@huawei.com> | 2016-09-13 11:41:53 +0800 |
commit | b731e2f1dd0972409b136aebc7b463dd72c9cfad (patch) | |
tree | 5107d7d80c19ad8076c2c97c2b5ef8d1cf3ab903 /framework/src/onos/web/gui/src/main/webapp/_sdh/ng-examples/ch10-01-simple-routing.html | |
parent | ee93993458266114c29271a481ef9ce7ce621b2a (diff) |
ONOSFW-171
O/S-SFC-ONOS scenario documentation
Change-Id: I51ae1cf736ea24ab6680f8edca1b2bf5dd598365
Signed-off-by: CNlucius <lukai1@huawei.com>
Diffstat (limited to 'framework/src/onos/web/gui/src/main/webapp/_sdh/ng-examples/ch10-01-simple-routing.html')
-rw-r--r-- | framework/src/onos/web/gui/src/main/webapp/_sdh/ng-examples/ch10-01-simple-routing.html | 36 |
1 files changed, 0 insertions, 36 deletions
diff --git a/framework/src/onos/web/gui/src/main/webapp/_sdh/ng-examples/ch10-01-simple-routing.html b/framework/src/onos/web/gui/src/main/webapp/_sdh/ng-examples/ch10-01-simple-routing.html deleted file mode 100644 index 29614127..00000000 --- a/framework/src/onos/web/gui/src/main/webapp/_sdh/ng-examples/ch10-01-simple-routing.html +++ /dev/null @@ -1,36 +0,0 @@ -<!DOCTYPE html> -<html> -<head> - <title>Simple Routing</title> - <script src="../../tp/angular.js"></script> - <script src="../../tp/angular-route.js"></script> -</head> -<body ng-app="routingApp"> - - <h2>Angular Routing</h2> - - <ul> - <li><a href="#/">Default Route</a></li> - <li><a href="#/second">Second Route</a></li> - <li><a href="#/asdfertdfghsdfg">Non-existent Route</a></li> - </ul> - - <div ng-view></div> - - <script type="text/javascript"> - angular.module('routingApp', ['ngRoute']) - .config(['$routeProvider', function ($routeProvider) { - $routeProvider - .when('/', { - template: '<h5>This is the default route</h5>' - }) - .when('/second', { - template: '<h5>This is the second route</h5>' - }) - .otherwise({ - redirectTo: '/' - }); - }]); - </script> -</body> -</html> |