##news.js
var ngApp = angular.module('NewsList', []);
ngApp.controller('newsController', function ($scope, $http) {
$http.get('phones/phones.json', {pageNo:pageno,pageSize:pagesize}).success(function(response) {
$scope.newsitems = response.data.result;
});
});
##news.html
-
newsitem.id}}" target="_blank">{{newsitem.title}} {{newsitem.publishTime}}