Added Ajax call using $http