Advertisement
Guest User

Untitled

a guest
Jul 31st, 2015
200
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.29 KB | None | 0 0
  1. App.controller('CustomerCtrl',['$scope',function($scope){
  2. $scope.ShowData = CustomerService.Names().then(function(data){
  3. $scope.customers = data
  4. })
  5. }])
  6.  
  7. <div ng-controller="CustomerCtrl">
  8. <div ng-repeat="customer in customers">
  9. <h3 ng-bind="customer.name"></h3>
  10. </div>
  11. </div>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement