diff options
Diffstat (limited to 'framework/src/onos/web/gui/src/main/webapp/_sdh/ng-examples/ch02-04-controller-click-msg.html')
-rw-r--r-- | framework/src/onos/web/gui/src/main/webapp/_sdh/ng-examples/ch02-04-controller-click-msg.html | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/framework/src/onos/web/gui/src/main/webapp/_sdh/ng-examples/ch02-04-controller-click-msg.html b/framework/src/onos/web/gui/src/main/webapp/_sdh/ng-examples/ch02-04-controller-click-msg.html deleted file mode 100644 index 4a4a22ee..00000000 --- a/framework/src/onos/web/gui/src/main/webapp/_sdh/ng-examples/ch02-04-controller-click-msg.html +++ /dev/null @@ -1,26 +0,0 @@ -<!DOCTYPE html> -<html ng-app="notesApp"> -<head> - <title>Notes App</title> - <script src="../../tp/angular.js"></script> -</head> -<body ng-controller="MainCtrl as ctrl"> - {{ctrl.message}} AngularJS. - - <button ng-click="ctrl.changeMessage()"> - Change Message - </button> - - <script type="text/javascript"> - angular.module('notesApp', []) - .controller('MainCtrl', [function () { - var self = this; - self.message = 'Hello'; - self.changeMessage = function () { - self.message = 'Goodbye' - }; - }]); - </script> - -</body> -</html> |