<script type="text/javascript">
var app= angular.module('listCtrl', ['ejangular'])
app.controller('PhoneListCtrl', function ($scope,dataService) {
$scope.data=[{}];
$scope.getData=function()
{
. . . .
$scope.Grid._trigger("refresh");
. . . .
}
. . . . .
$scope.getData();
});
</script> |