GUI - Angular:: More sample HTML for form widgets etc.

Change-Id: Ibfc83aae8282e3d99b53a03ab0e13ef2579e990c
diff --git a/web/gui/src/main/webapp/_sdh/ng-examples/ch04-02-simple-ng-model2.html b/web/gui/src/main/webapp/_sdh/ng-examples/ch04-02-simple-ng-model2.html
new file mode 100644
index 0000000..d02909f
--- /dev/null
+++ b/web/gui/src/main/webapp/_sdh/ng-examples/ch04-02-simple-ng-model2.html
@@ -0,0 +1,40 @@
+<!DOCTYPE html>
+<html ng-app="notesApp">
+<head>
+    <title>Notes App</title>
+    <script src="../../tp/angular.js"></script>
+    <style>
+        span {
+            background-color: #cce;
+        }
+    </style>
+</head>
+<body ng-controller="MainCtrl as ctrl">
+
+<input type="text" ng-model="ctrl.username"/>
+<input type="password" ng-model="ctrl.password"/>
+<button ng-click="ctrl.change()">Change values</button>
+<button ng-click="ctrl.submit()">Submit</button>
+
+
+
+
+<script type="text/javascript">
+    angular.module('notesApp', []).controller('MainCtrl', [
+        function () {
+            var self = this;
+            self.change = function () {
+                self.username = 'changed';
+                self.password = 'password';
+            };
+
+            self.submit = function () {
+                console.log('user clicked submit with ',
+                    self.username, self.password);
+            };
+        }
+    ]);
+</script>
+
+</body>
+</html>