diegopamio / diegopamio/angular-sails-bind

$scope.$watchCollection not implemented in Angular 1.0.8

Open
#16 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
135
Forks
23
PR merge metrics
No merged PRs in 30d

Description

I've hacked a fix using the deep watch syntax in my controller:

``` javascript
$scope.$watchCollection = function(variable, cb) {
return $scope.$watch(variable, cb, true);
};
```

Could we replace $watchCollection with `$watch(resourceName + "s", callback, true)`?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.