summaryrefslogtreecommitdiffstats
path: root/test/angular.html
diff options
context:
space:
mode:
Diffstat (limited to 'test/angular.html')
-rw-r--r--test/angular.html21
1 files changed, 21 insertions, 0 deletions
diff --git a/test/angular.html b/test/angular.html
new file mode 100644
index 00000000..f7e25756
--- /dev/null
+++ b/test/angular.html
@@ -0,0 +1,21 @@
+<!doctype html>
+<html>
+<body>
+ <div ng-controller="MyController">
+ Hello {{greetMe}}!
+ </div>
+ <script src="http://code.angularjs.org/1.5.5/angular.js"></script>
+ <script src="AfbAngular.js"></script>
+
+ <script>
+ angular.module('myApp', [])
+ .controller('MyController', ['$scope', function ($scope) {
+ $scope.greetMe = 'World';
+ }]);
+
+ angular.element(document).ready(function() {
+ angular.bootstrap(document, ['myApp']);
+ });
+ </script>
+</body>
+</html>