Created
January 29, 2014 16:23
-
-
Save ericdouglas/8691541 to your computer and use it in GitHub Desktop.
Study of "Recipes With AngularJS" - Chapter 1 - Recipe 2 - Example 02
This file contains 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> | |
<head> | |
<meta charset="UTF-8"> | |
<title>Chapter 1 - Recipe 2 - Example 02</title> | |
<script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.2.10/angular.min.js"></script> | |
</head> | |
<body ng-app> | |
<h2>Define your informations:</h2> | |
Telephone: <input type="tel" ng-model="tel"> <br> | |
E-mail: <input type="email" ng-model="email"> <br> | |
Favorite Color: <input type="color" ng-model="color"> <br> | |
<h3>Your datas:</h3> | |
<p> | |
Telephone: {{ tel }} <br> | |
E-mail: {{ email }} <br> | |
Favorite Color: {{ color }} | |
</p> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment