Experiment angular ionic nfc library cordova

https://github.com/don/ionic-nfc-reader

https://github.com/chariotsolutions/phonegap-nfc

http://developer.android.com/guide/topics/connectivity/nfc/nfc.html#ndef-disc

https://github.com/don/mifare-classic-js/blob/master/examples/read.js

http://developer.android.com/guide/topics/connectivity/nfc/nfc.html

Making a httpRequest via Angular …is different than in jquery look :

http://www.w3schools.com/angular/angular_http.asp

<!DOCTYPE html>
<html>

<head>
<script src=“http://ajax.googleapis.com/ajax/libs/angularjs/1.2.26/angular.min.js”></script>
</head>

<body>

<div ng-app=“” ng-controller=“customersController”>

<ul>
<li ng-repeat=“x in names”>
{{ x.Name + ’, ’ + x.Country }}
</li>
</ul>

</div>

<script>
function customersController($scope,$http) {
$http.get(“http://www.w3schools.com//website/Customers_JSON.php”)
.success(function(response) {$scope.names = response;});
}
</script>

</body>
</html>

In function here:

http://jsfiddle.net/dbarenas/j8grpufm/

Leave a Reply

Your email address will not be published.