When I am calling AngularJs factory method to bind a list of months with static array then it is working fine. But when I am using MVC Controller to return same data then $scope
Extract the data from the promise with its .then method:
.then
//Functions function homeController($scope,$http, DataFactory,DataService) { $scope.headingText = "Home"; DataFactory.getMonths().then(function(data) { $scope.months = data; }); }