2016-11-10 46 views

回答

0

剛剛從請求刪除「/」,

它應該是,

app.controller("listController", ["$scope","$http", 
    function($scope,$http) { 
     $http.get('app/npi/npiList.json').then(function (response){ 
       console.log(response.data) 
     }); 

}]); 
+0

不過它不工作 –

+1

你有團隊觀衆? – Sajeetharan