{"action":"created","issue":{"url":"https://api.github.com/repos/frapontillo/angular-bootstrap-switch/issues/111","repository_url":"https://api.github.com/repos/frapontillo/angular-bootstrap-switch","labels_url":"https://api.github.com/repos/frapontillo/angular-bootstrap-switch/issues/111/labels{/name}","comments_url":"https://api.github.com/repos/frapontillo/angular-bootstrap-switch/issues/111/comments","events_url":"https://api.github.com/repos/frapontillo/angular-bootstrap-switch/issues/111/events","html_url":"https://github.com/frapontillo/angular-bootstrap-switch/issues/111","id":156076845,"number":111,"title":"switch-change should only fire if the switch itself changed the value","user":{"login":"Deklin","id":3372511,"avatar_url":"https://avatars.githubusercontent.com/u/3372511?v=3","gravatar_id":"","url":"https://api.github.com/users/Deklin","html_url":"https://github.com/Deklin","followers_url":"https://api.github.com/users/Deklin/followers","following_url":"https://api.github.com/users/Deklin/following{/other_user}","gists_url":"https://api.github.com/users/Deklin/gists{/gist_id}","starred_url":"https://api.github.com/users/Deklin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Deklin/subscriptions","organizations_url":"https://api.github.com/users/Deklin/orgs","repos_url":"https://api.github.com/users/Deklin/repos","events_url":"https://api.github.com/users/Deklin/events{/privacy}","received_events_url":"https://api.github.com/users/Deklin/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/frapontillo/angular-bootstrap-switch/labels/wontfix","name":"wontfix","color":"ffffff"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-05-21T01:30:07Z","updated_at":"2016-05-21T01:42:07Z","closed_at":"2016-05-21T01:38:24Z","body":"Here is a plunkr showing the issue.\r\nhttp://plnkr.co/edit/NYLyEUBz2fs3XFCKtCjS?p=preview\r\n\r\nBasically lets compare ng-change to switch-change\r\n\r\nng-change only fires if the directive/controller managing the model makes the change, an outside change will not fire this\r\n\r\nswitch-change will fire if the model is changed even outside the angular-bootstrap-switch codebase.\r\n"},"comment":{"url":"https://api.github.com/repos/frapontillo/angular-bootstrap-switch/issues/comments/220751851","html_url":"https://github.com/frapontillo/angular-bootstrap-switch/issues/111#issuecomment-220751851","issue_url":"https://api.github.com/repos/frapontillo/angular-bootstrap-switch/issues/111","id":220751851,"user":{"login":"Deklin","id":3372511,"avatar_url":"https://avatars.githubusercontent.com/u/3372511?v=3","gravatar_id":"","url":"https://api.github.com/users/Deklin","html_url":"https://github.com/Deklin","followers_url":"https://api.github.com/users/Deklin/followers","following_url":"https://api.github.com/users/Deklin/following{/other_user}","gists_url":"https://api.github.com/users/Deklin/gists{/gist_id}","starred_url":"https://api.github.com/users/Deklin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Deklin/subscriptions","organizations_url":"https://api.github.com/users/Deklin/orgs","repos_url":"https://api.github.com/users/Deklin/repos","events_url":"https://api.github.com/users/Deklin/events{/privacy}","received_events_url":"https://api.github.com/users/Deklin/received_events","type":"User","site_admin":false},"created_at":"2016-05-21T01:42:07Z","updated_at":"2016-05-21T01:42:07Z","body":"I can't believe I missed the fact that ng-change works on this... !! For some reason I read switch-change as your implementation of ng-change and that I was to use that instead of ng-change.\r\nJust tested ng-change on the plunkr and it works fine.\r\n\r\nThanks for your quick reply and feedback.\r\n"}}
{"actor":{"display_login":"Deklin"}}