aboutsummaryrefslogtreecommitdiffstats
path: root/framework/src/onos/web/gui/src/main/webapp/_sdh/ng-examples/ch08-01-filter-example.html
diff options
context:
space:
mode:
Diffstat (limited to 'framework/src/onos/web/gui/src/main/webapp/_sdh/ng-examples/ch08-01-filter-example.html')
-rw-r--r--framework/src/onos/web/gui/src/main/webapp/_sdh/ng-examples/ch08-01-filter-example.html48
1 files changed, 0 insertions, 48 deletions
diff --git a/framework/src/onos/web/gui/src/main/webapp/_sdh/ng-examples/ch08-01-filter-example.html b/framework/src/onos/web/gui/src/main/webapp/_sdh/ng-examples/ch08-01-filter-example.html
deleted file mode 100644
index 105209ca..00000000
--- a/framework/src/onos/web/gui/src/main/webapp/_sdh/ng-examples/ch08-01-filter-example.html
+++ /dev/null
@@ -1,48 +0,0 @@
-<!DOCTYPE html>
-<html>
-<head>
- <title>Filters in Action</title>
- <script src="../../tp/angular.js"></script>
-</head>
-<body ng-app="filtersApp">
-
- <div ng-controller="FilterCtrl as ctrl">
- <div>
- Amount as a number: {{ctrl.amount | number}}
- </div>
- <div>
- Total cost as a currency: {{ctrl.totalCost | currency}}
- </div>
- <div>
- Total cost in GBP: {{ctrl.totalCost | currency:'GBP '}}
- </div>
- <div>
- Shout: {{ctrl.name | uppercase}}
- </div>
- <div>
- Whisper: {{ctrl.name | lowercase}}
- </div>
- <div>
- Start time: {{ctrl.startTime | date:'medium'}}
- </div>
- <div>
- as JSON: {{ctrl.struct | json}}
- </div>
- </div>
-
- <script type="text/javascript">
- angular.module('filtersApp', [])
- .controller('FilterCtrl', [function () {
- var self = this;
- self.amount = 1024;
- self.totalCost = 4906;
- self.name = 'Onos Rocks!';
- self.startTime = new Date().getTime();
- self.struct = {
- foo: 'bar',
- baz: 3.1415
- };
- }]);
- </script>
-</body>
-</html>