debugger tells me there's a ; missing before the statement at the line with personSrv.getAllpersons() in my code , but I have no idea where I'd need to put it.
.controller('personsCtrl', ['$scope', 'personSrv', function personsCtrl($scope, personSrv) {
personSrv.getAllpersons().success(response){
$scope.persons = response.data.rows;
}
}])