{"action":"opened","issue":{"url":"https://api.github.com/repos/angular/angular.js/issues/12667","labels_url":"https://api.github.com/repos/angular/angular.js/issues/12667/labels{/name}","comments_url":"https://api.github.com/repos/angular/angular.js/issues/12667/comments","events_url":"https://api.github.com/repos/angular/angular.js/issues/12667/events","html_url":"https://github.com/angular/angular.js/issues/12667","id":102864800,"number":12667,"title":"How to $apply without forcing $render on tests","user":{"login":"mrodrigues","id":565635,"avatar_url":"https://avatars.githubusercontent.com/u/565635?v=3","gravatar_id":"","url":"https://api.github.com/users/mrodrigues","html_url":"https://github.com/mrodrigues","followers_url":"https://api.github.com/users/mrodrigues/followers","following_url":"https://api.github.com/users/mrodrigues/following{/other_user}","gists_url":"https://api.github.com/users/mrodrigues/gists{/gist_id}","starred_url":"https://api.github.com/users/mrodrigues/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mrodrigues/subscriptions","organizations_url":"https://api.github.com/users/mrodrigues/orgs","repos_url":"https://api.github.com/users/mrodrigues/repos","events_url":"https://api.github.com/users/mrodrigues/events{/privacy}","received_events_url":"https://api.github.com/users/mrodrigues/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-08-24T18:48:48Z","updated_at":"2015-08-24T18:48:48Z","closed_at":null,"body":"I'm trying to test a `$watch(someValue, listener)` call in library which overrides the `ngModelController`'s `$render` method. Unfortunately, it seems that although the `listener` is never called, the `$render` is, either when calling `$rootScope.$apply()` or `$rootScope.$digest()`.\r\n\r\nIs it possible not to force the `$render` function to be called? Is there a better way to test this watcher? Since I don't own this library, should I recommend them not to override the `$render` function?"}}