Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- App.controller('CustomerCtrl',['$scope',function($scope){
- $scope.ShowData = CustomerService.Names().then(function(data){
- $scope.customers = data
- })
- }])
- <div ng-controller="CustomerCtrl">
- <div ng-repeat="customer in customers">
- <h3 ng-bind="customer.name"></h3>
- </div>
- </div>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement