0
我有顯示的角... 查詢記錄這樣的問題.. 角控制器如何角JS顯示資源對象
angular.module('MyApp')
.controller('CountriesCtrl', function ($scope, $rootScope, $routeParams, Countries) {
Countries.query({}, function (countries) {
//Countries.get() return Expected response to contain an object but got an array so i use countries.query....
$scope.countries = countries;
console.log(countries);
});
})
..使用返回的數據我如何使用ng-repeat顯示角度...
謝謝