In your controller:
CustomerService.getAllCustomers().then(function(customers){
if(customers){
$scope.customers = customers;
}
});
The promise is not what you think it is :).
Edit: Also as I said in the comments, I wouldn't perform mysql queries directly from angularJS. Use nodeJS or other server side frameworks to do it.
Edit2: The solution this query problem in particular was to use $scope.$apply in the callback method. This has to do with the digest cycle: How do I use $scope.$watch and $scope.$apply in AngularJS?