//ADDING NEW COMMENTS //add new comment within project $scope.addnewcomment = function() { $scope.projectDetails.Comments.push({ "Author": "test", "Text": $scope.NewComment }) }