Skip to content

Instantly share code, notes, and snippets.

@learningjs
Created December 4, 2013 22:26
Show Gist options
  • Save learningjs/7796743 to your computer and use it in GitHub Desktop.
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 )
<!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