Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

file 44 lines (44 sloc) 1.395 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44
<!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.