$scope.$watchCollection not implemented in Angular 1.0.8
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 38/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Stale
- Tech stack
- angularjs, javascript
- Domain
- frontend
Research direction
Locate the Angular scope-binding code in the repository and inspect how collection changes are watched. Compare the current watch setup with the deep-watch behavior shown in the issue, then verify that bound resource collections update through the intended callback without relying on $watchCollection.
Written by the indexing model from the issue text.
Description
I've hacked a fix using the deep watch syntax in my controller:
$scope.$watchCollection = function(variable, cb) {
return $scope.$watch(variable, cb, true);
};
Could we replace $watchCollection with $watch(resourceName + "s", callback, true)?
- Dominant language
- JavaScript
- Stars
- 135
- Forks
- 23
- PR merge metrics
- No merged PRs in 30d
Getting set up
We have not checked this project's setup files yet. Start from its README, and see our first-contribution guide for the general steps.
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from diegopamio/angular-sails-bind
-
Difficulty 3/5 1-2 days Newbie friendliness 35/100
diegopamio/angular-sails-bind#34 · 1 comment ·
-
Set headers?Open
Difficulty 4/5 3-5 days Newbie friendliness 25/100
diegopamio/angular-sails-bind#33 · 1 comment ·
-
JSON objectsOpen0 - Backlog
Difficulty 3/5 1-2 days Newbie friendliness 28/100
diegopamio/angular-sails-bind#28 · 2 comments ·
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
-
Difficulty 4/5 3-5 days Newbie friendliness 25/100
diegopamio/angular-sails-bind#23 · 1 comment ·
All issues in diegopamio/angular-sails-bind
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Maintainers usually reply within 1 day
-
Difficulty 1/5 Under an hour Newbie friendliness 92/100
parse-community/parse-server#10699 · 1 comment ·
Maintainers usually reply within 1 day
-
area: dashboard bug perceived difficulty: 3
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
Nitjsefnie-Harness-Commons/daedalus#1179 ·
Maintainers usually reply within 1 day
-
Aframe enhancement javascript
Difficulty 1/5 Under an hour Newbie friendliness 92/100
webarkit/Aframe-nft#17 ·
-
spec-feedback
Difficulty 2/5 1-3 hours Newbie friendliness 75/100