Reading data from web servers
By using AngularJS we can load data from php files on Tizen mobile. This script sort data in order by country. You have to remember setting Internet privilege for external scripts and data.
<!DOCTYPE html>
<html>
<script src= "http://ajax.googleapis.com/ajax/libs/angularjs/1.3.14/angular.min.js"></script>
<body>
<div ng-app="myApp" ng-controller="customersCtrl">
<ul>
<li style=" border:1px solid black; width:150px;" ng-repeat="x in names | orderBy:'Country'">
{{ 'Company: ' + x.Name + ', In: ' + x.City + ', From: ' + x.Country }}
</li>
</ul>
</div>
<script>
var app = angular.module('myApp', []);
app.controller('customersCtrl', function($scope, $http) {
$http.get("http://www.w3schools.com/angular/customers.php")
.success(function (response) {$scope.names = response.records;});
});
</script>
</body>
</html>