Maybe it's just in this message but there's a missing paren in your postData definition, it should be:
$scope.postData = function() {
var post = new Post($scope.dummy);
post.$save();
}
Then maybe the problem is in the way you call postData().
Maybe it's just in this message but there's a missing paren in your postData definition, it should be:
$scope.postData = function() {
var post = new Post($scope.dummy);
post.$save();
}
Then maybe the problem is in the way you call postData().