>
> <script>
> var app = angular.module('myApp', []); app.controller('customersCtrl',
> function($scope, $http) {
>
$scope.names = {};
> $http.get("http://localhost:5000/about") .success(function (response)
> {$scope.names = response.records;}); }); </script>
>
I haven't tried this, but have you tried to initialize $scope.names before
that promice?
I believe your ng-repeat doesn't know anything about $scope.names cause it
doesn't exist....
Again it's just a sugestion, don't know if this is the problem...
--
You received this message because you are subscribed to the Google Groups
"AngularJS" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.