Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
45 lines (44 sloc) 1.36 KB
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<script src="http://getangular.com/angular-1.0a.js#database=samples" type="text/javascript"></script>
</head>
<body>
<p>
name: <input type="text" name="name" /> name={{name}} <br/>
</p>
<p>
<input type="radio" name="gender" value="female"/> Female
<input type="radio" name="gender" value="male"/> Male
gender={{gender}}
</p>
<p>
<input type="checkbox" name="tea" checked value="on"/> tea={{tea}} <br/>
<input type="checkbox" name="coffee" value="on"/> coffee={{coffee}} <br/>
</p>
<p ng-init="count = 0">
<form>
<input type="button" value="button" ng-action="count = count + 1"/>
<input type="submit" value="submit" ng-action="count = count + 1"/>
<a href="#ERROR" ng-action="count=count+1">action</a>
count={{count}}
</form>
</p>
<p>
<select name="select">
<option>A</option>
<option>B</option>
<option>C</option>
</select>
select={{select}}
</p>
<p>
<select name="multiple" multiple>
<option>A</option>
<option>B</option>
<option>C</option>
</select>
multiple={{multiple}}
</p>
</body>
</html>
Something went wrong with that request. Please try again.