routing

Kmandapalli
Posted by Kmandapalli under AngularJS category on | Points: 40 | Views : 251
<script>
var countryApp = angular.module('countryApp', []);
countryApp.controller('CountryListCtrl', function ($scope, $http){
$http.get('countries.json').success(function(data) {
$scope.countries = data;
});
});
</script>

Comments or Responses

Login to post response