/api/users/:id users tablomda seçtiğim bir user ın bilgilerine erişmek istiyorum. Nasıl çekebilirim? app.controller('YourController', function($scope, UsersService) { ................. UsersService.getById(userId, function() { $scope.users = ???; }, function(errResponse){ console.error('Error while fetching Users'); } );
16 Temmuz 2017
Javascript kategorisinde
tolgacelik.art
2.0k puan
sordu