We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 945c80f + 085bee5 commit da700a9Copy full SHA for da700a9
1 file changed
README.md
@@ -72,8 +72,8 @@ app.controller('postCtrl', function ($scope, $routeParams, Post, Comment) {
72
Comment.findAll(query);
73
74
// My goodness this was easy
75
- Post.bindOne($scope, 'post', $routeParams.id);
76
- Comment.bindAll($scope, 'comments', query);
+ Post.bindOne($routeParams.id, $scope, 'post');
+ Comment.bindAll(query, $scope, 'comments');
77
78
// Long form (same effect as above)
79
$scope.$watch(function () {
0 commit comments