{"action":"closed","issue":{"url":"https://api.github.com/repos/summernote/angular-summernote/issues/142","repository_url":"https://api.github.com/repos/summernote/angular-summernote","labels_url":"https://api.github.com/repos/summernote/angular-summernote/issues/142/labels{/name}","comments_url":"https://api.github.com/repos/summernote/angular-summernote/issues/142/comments","events_url":"https://api.github.com/repos/summernote/angular-summernote/issues/142/events","html_url":"https://github.com/summernote/angular-summernote/issues/142","id":163769363,"number":142,"title":"when i use on-image-upload and  editable=\"editable\" editor=\"editor\" ,why $scope.editor is undefined?","user":{"login":"laiyituan","id":10414173,"avatar_url":"https://avatars.githubusercontent.com/u/10414173?v=3","gravatar_id":"","url":"https://api.github.com/users/laiyituan","html_url":"https://github.com/laiyituan","followers_url":"https://api.github.com/users/laiyituan/followers","following_url":"https://api.github.com/users/laiyituan/following{/other_user}","gists_url":"https://api.github.com/users/laiyituan/gists{/gist_id}","starred_url":"https://api.github.com/users/laiyituan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/laiyituan/subscriptions","organizations_url":"https://api.github.com/users/laiyituan/orgs","repos_url":"https://api.github.com/users/laiyituan/repos","events_url":"https://api.github.com/users/laiyituan/events{/privacy}","received_events_url":"https://api.github.com/users/laiyituan/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-07-05T04:21:53Z","updated_at":"2016-07-05T08:27:24Z","closed_at":"2016-07-05T08:27:24Z","body":"i use summernote v0.8.1 and chrome:\r\n`<summernote ng-model=\"editItem.description\" on-image-upload=\"imageUpload(files)\" editable=\"editable\" editor=\"editor\" height=\"300\"></summernote>`\r\n\r\n` $scope.imageUpload = function(files) {\r\n    console.log('image upload:', files);\r\n    console.log('image upload\\'s editor:', $scope.editor);\r\n    console.log('image upload\\'s editable:', $scope.editable)};`\r\n\r\ni got this:\r\nimage upload: FileList {0: File, length: 1}\r\nimage upload's editor: undefined\r\nimage upload's editable: undefined\r\n\r\nAm i losing something?"}}
{"actor":{"display_login":"laiyituan"}}