i am new AngularJs, how to debug code in angularjs using Visual Stduio 2013, i am calling RestAPI in angular but data does not show , please help me. please check below code and Images.
var app = angular.module('myApp', []);
app.controller('customersCtrl', function($scope, $http) {
$http.get("http://localhost:9000/employees").then(function (response) {
$scope.myData = response.data;
});
});
<!-- language: lang-html -->
<div ng-app="myApp" ng-controller="customersCtrl">
<pre>{{myData | json}}</pre>
<p>Today's welcome message is:</p>
<ul>
<!--<li ng-repeat="x in myData">
{{ x.name + ', ' + x.Fname }}
</li>-->
</ul>
</div>