Created
July 17, 2012 08:45
-
-
Save lalabear/3128129 to your computer and use it in GitHub Desktop.
邊學AngularJS邊做Todo List 第一回 HelloWorld
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html ng-app> | |
<head> | |
<title>邊學AngularJS邊做Todo List (1)</title> | |
<script type="text/javascript" src="http://code.angularjs.org/angular-1.0.1.min.js"></script> | |
</head> | |
<body> | |
<h1>Hello World</h1> | |
<p>AngularJs say hello to {{yourName || 'everyone'}}!</p> | |
<label>輸入你的姓名,Angular會跟你打招呼</label> | |
<input type="text" ng-model="yourName"> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hello World
AngularJs say hello to {{yourName || 'everyone'}}!
輸入你的姓名,Angular會跟你打招呼