http://angularjs.org/Cookbook:HelloWorld
authorDobrica Pavlinusic <dpavlin@rot13.org>
Sun, 31 Oct 2010 10:20:16 +0000 (11:20 +0100)
committerDobrica Pavlinusic <dpavlin@rot13.org>
Sun, 31 Oct 2010 10:20:16 +0000 (11:20 +0100)
public/cookbook/1-hello_world.html [new file with mode: 0644]

diff --git a/public/cookbook/1-hello_world.html b/public/cookbook/1-hello_world.html
new file mode 100644 (file)
index 0000000..2cbe975
--- /dev/null
@@ -0,0 +1,14 @@
+<!DOCTYPE HTML>
+<html xmlns:ng="http://angularjs.org">
+  <head>
+    <script type="text/javascript"
+         src="/build/angular.js" ng:autobind></script>
+  </head>
+  <body>
+
+Your name: <input type="text" name="name" value="World"/>
+<hr/>
+Hello {{name}}!
+
+  </body>
+</html>