On Github kruyvanna / phonegap_meetup
Kruy Vanna / @kruyvanna
HTML enhanced for App
<input type="text" ng-model="name"> <div> Hello {{name}} </div>
function Controller1( $scope ){ $scope.name = "1"; } function Controller2( $scope ){ $scope.name = "2"; }
<div ng-controller="Controller1"> <h2>{{name}}</h2> // "1" </div> <div ng-controller="Controller2"> <h2>{{name}}</h2> // "2" </div>
<form name="myForm"> <input type="text" name="name" required="required"> <span ng-show="myForm.name.$error.required">Name is required</span> </form>
A Todo App
Monaca
https://github.com/kruyvanna/todo