Files
goldmountain/WebRoot/js/controller/ReportController.js

13 lines
337 B
JavaScript
Raw Normal View History

2015-11-24 22:57:40 +08:00
app.controller("ReportListController", function($scope, $http) {
$http.get("http://localhost/summaryPlan/reportList").success(
function(response) {
if (response.status == "SUCCESS") {
$scope.reportList = response.data;
}
else{
// $http.get("http://localhost/summaryPlan/reportlist");
}
});
});