You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Apr 12, 2024. It is now read-only.
Unable to watch the changes of the property '$' of an object which is used by filterFilter.
//object to search
$scope.search = {'$': 'something...'}
//watch the object
$scope.$watch('search',
function (newValue, oldValue) {
//do action
results = filter(list, search);
...
}, true);
The "$" in the function filterFilter represents any property, however it represents built-in variable in the function equals(watch).
How to resolve the conflict between them?