Skip to content Skip to sidebar Skip to footer

$http And $scope Variable Not Showing In Template

The variable $scope.discussionId is not showing in my template. Every other value are displaying What am I doing wrong ? EDIT (Full Code) CONTROLLER soundshareApp.controller('Comme

Solution 1:

I do not see $scope.loadComments gets ever called. $scope.discussionId; is initialize undefined. if you initialize it I bet you it will display that value, something like:

$scope.discussionId = 10;

Post a Comment for "$http And $scope Variable Not Showing In Template"