From b731e2f1dd0972409b136aebc7b463dd72c9cfad Mon Sep 17 00:00:00 2001 From: CNlucius Date: Tue, 13 Sep 2016 11:40:12 +0800 Subject: ONOSFW-171 O/S-SFC-ONOS scenario documentation Change-Id: I51ae1cf736ea24ab6680f8edca1b2bf5dd598365 Signed-off-by: CNlucius --- .../ng-examples/ch05-01-need-for-service-app.js | 34 ---------------------- 1 file changed, 34 deletions(-) delete mode 100644 framework/src/onos/web/gui/src/main/webapp/_sdh/ng-examples/ch05-01-need-for-service-app.js (limited to 'framework/src/onos/web/gui/src/main/webapp/_sdh/ng-examples/ch05-01-need-for-service-app.js') diff --git a/framework/src/onos/web/gui/src/main/webapp/_sdh/ng-examples/ch05-01-need-for-service-app.js b/framework/src/onos/web/gui/src/main/webapp/_sdh/ng-examples/ch05-01-need-for-service-app.js deleted file mode 100644 index 4e25b0b1..00000000 --- a/framework/src/onos/web/gui/src/main/webapp/_sdh/ng-examples/ch05-01-need-for-service-app.js +++ /dev/null @@ -1,34 +0,0 @@ -// ch05-01-need-for-service-app.js - -angular.module('notesApp', []) - .controller('MainCtrl', [function () { - var self = this; - self.tab = 'first'; - self.open = function (tab) { - self.tab = tab; - } - }]) - .controller('SubCtrl', [function () { - var self = this; - self.list = [ - {id: 0, label: 'Item 0'}, - {id: 1, label: 'Item 1'} - ]; - - self.add = function () { - var n = self.list.length; - self.list.push({ - id: n, - label: 'Item ' + n - }); - } - }]); - -/* - NOTE: When we use controllers, they are instances that get created and - destroyed as we navigate across the application. Any state they - hold is temporary at best, and cannot be communicated to other - controllers. - - That's why we'd use "services" instead. - */ -- cgit 1.2.3-korg