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
<gap:plugin name="org.apache.cordova.device" version="0.2.3" /> | |
<gap:plugin name="org.apache.cordova.camera" version="0.2.3" /> | |
<gap:plugin name="org.apache.cordova.globalization" version="0.1.0" /> | |
<gap:plugin name="org.apache.cordova.inappbrowser" version="0.1.0" /> | |
<gap:plugin name="com.phonegap.plugins.pushplugin" version="2.1.1" /> |
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
<!-- First Add plugin in config.xml then go on build.phonegap.com <gap:plugin name="org.apache.cordova.camera" version="0.2.3" />--> | |
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>Capture Photo</title> | |
<script type="text/javascript" charset="utf-8" src="phonegap.js"></script> | |
<script type="text/javascript" charset="utf-8"> | |
var pictureSource; // picture source |
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></title> | |
</head> | |
<body> | |
{{2+2}} | |
<script src="http://ajax.googleapis.com/ajax/libs/angularjs/1.2.26/angular.min.js"></script> | |
</body> | |
</html> |
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></title> | |
</head> | |
<body> | |
<input type="text" name="name" ng-model="name" value="" /> | |
<p ng-bind="name"></p> And we also use expression like this {{name}} | |
<script src="http://ajax.googleapis.com/ajax/libs/angularjs/1.2.26/angular.min.js"></script> | |
</body> |
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></title> | |
</head> | |
<body> | |
Name:<input type="text" ng-model="nameModel"> {{nameModel}} | |
<div ng-init="names=[{name:'Imran', city:'khi'}, {name:'ali', city:'Karachi'}]"> |
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></title> | |
</head> | |
<body> | |
<div class="container" data-ng-controller="simpleController"> | |
<h3>Adding A Simple Controller</h3> | |
<ul> | |
<li data-ng-repeat="cust in customers"> |