{"action":"opened","issue":{"url":"https://api.github.com/repos/angular-ui/ui-leaflet/issues/196","labels_url":"https://api.github.com/repos/angular-ui/ui-leaflet/issues/196/labels{/name}","comments_url":"https://api.github.com/repos/angular-ui/ui-leaflet/issues/196/comments","events_url":"https://api.github.com/repos/angular-ui/ui-leaflet/issues/196/events","html_url":"https://github.com/angular-ui/ui-leaflet/issues/196","id":117231335,"number":196,"title":"Changing the `controls` object re-adds all controls","user":{"login":"ezk84","id":1305919,"avatar_url":"https://avatars.githubusercontent.com/u/1305919?v=3","gravatar_id":"","url":"https://api.github.com/users/ezk84","html_url":"https://github.com/ezk84","followers_url":"https://api.github.com/users/ezk84/followers","following_url":"https://api.github.com/users/ezk84/following{/other_user}","gists_url":"https://api.github.com/users/ezk84/gists{/gist_id}","starred_url":"https://api.github.com/users/ezk84/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ezk84/subscriptions","organizations_url":"https://api.github.com/users/ezk84/orgs","repos_url":"https://api.github.com/users/ezk84/repos","events_url":"https://api.github.com/users/ezk84/events{/privacy}","received_events_url":"https://api.github.com/users/ezk84/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-11-16T22:16:54Z","updated_at":"2015-11-16T22:16:54Z","closed_at":null,"body":"[Here's a plunker](http://plnkr.co/edit/KyjYbNVBH8cLT8T5x1Ap?p=preview) with an example. Basically every time the object that get bound to the 'controls` attribute is altered, the old controls don't get removed, but rather things get duplicated.\r\n"}}