{"action":"created","issue":{"url":"https://api.github.com/repos/angular-ui/ui-leaflet/issues/237","repository_url":"https://api.github.com/repos/angular-ui/ui-leaflet","labels_url":"https://api.github.com/repos/angular-ui/ui-leaflet/issues/237/labels{/name}","comments_url":"https://api.github.com/repos/angular-ui/ui-leaflet/issues/237/comments","events_url":"https://api.github.com/repos/angular-ui/ui-leaflet/issues/237/events","html_url":"https://github.com/angular-ui/ui-leaflet/issues/237","id":140983773,"number":237,"title":"Can't update defaults on the map","user":{"login":"zinotinder","id":361205,"avatar_url":"https://avatars.githubusercontent.com/u/361205?v=3","gravatar_id":"","url":"https://api.github.com/users/zinotinder","html_url":"https://github.com/zinotinder","followers_url":"https://api.github.com/users/zinotinder/followers","following_url":"https://api.github.com/users/zinotinder/following{/other_user}","gists_url":"https://api.github.com/users/zinotinder/gists{/gist_id}","starred_url":"https://api.github.com/users/zinotinder/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zinotinder/subscriptions","organizations_url":"https://api.github.com/users/zinotinder/orgs","repos_url":"https://api.github.com/users/zinotinder/repos","events_url":"https://api.github.com/users/zinotinder/events{/privacy}","received_events_url":"https://api.github.com/users/zinotinder/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-03-15T14:09:55Z","updated_at":"2016-03-16T20:53:13Z","closed_at":null,"body":"I set defaults for map like:\r\n\r\n```\r\ndefaults: {\r\n                    tileLayer: \"http://{s}.tile.opencyclemap.org/cycle/{z}/{x}/{y}.png\",\r\n                    scrollWheelZoom: false\r\n                }\r\n```\r\n\r\nAnd later I want to update defaults with some other event like click.\r\nSo I tried something like this:\r\n\r\n`angular.extend($scope, { defaults: { map: { scrollWheelZoom: true} } });`\r\n\r\nBut nothing happens after I change this. Can somebody help me how to update defaults value?"},"comment":{"url":"https://api.github.com/repos/angular-ui/ui-leaflet/issues/comments/197544282","html_url":"https://github.com/angular-ui/ui-leaflet/issues/237#issuecomment-197544282","issue_url":"https://api.github.com/repos/angular-ui/ui-leaflet/issues/237","id":197544282,"user":{"login":"zinotinder","id":361205,"avatar_url":"https://avatars.githubusercontent.com/u/361205?v=3","gravatar_id":"","url":"https://api.github.com/users/zinotinder","html_url":"https://github.com/zinotinder","followers_url":"https://api.github.com/users/zinotinder/followers","following_url":"https://api.github.com/users/zinotinder/following{/other_user}","gists_url":"https://api.github.com/users/zinotinder/gists{/gist_id}","starred_url":"https://api.github.com/users/zinotinder/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zinotinder/subscriptions","organizations_url":"https://api.github.com/users/zinotinder/orgs","repos_url":"https://api.github.com/users/zinotinder/repos","events_url":"https://api.github.com/users/zinotinder/events{/privacy}","received_events_url":"https://api.github.com/users/zinotinder/received_events","type":"User","site_admin":false},"created_at":"2016-03-16T20:53:13Z","updated_at":"2016-03-16T20:53:13Z","body":"I am sorry if I am boring but can somebody tell am I doing something wrong here or this could be some bug in directive?"}}