Created
December 4, 2013 22:26
-
-
Save learningjs/7796743 to your computer and use it in GitHub Desktop.
Slightly modified version of the provided demo : just added the angularjs script and a basic binding via a model input text . This is noticeably slow on my test device ( Samsung Note 2 )
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 ng-app> | |
<head> | |
<title>Hello, Mobile!</title> | |
<link rel="stylesheet" href="index.css" type="text/css" /> | |
<script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.2.1/angular.js"></script> | |
</head> | |
<body> | |
<div> | |
<input type="text" ng-model="name" placeholder="Mobile"> | |
</div> | |
<div> | |
<h1>Hello, {{name}}!</h1> | |
<img src="assets/chrome_logo.png" /> | |
</div> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment