Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
// old way
$scope.$watch('remainingCount == 0', function (val) {
$scope.allChecked = val;
});
//remainingCount is not a variable anymore it was replaced with (tasks | filter:{completed:true})
How can i still watch that?
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.