{"action":"closed","issue":{"url":"https://api.github.com/repos/kjartanvalur/angular-kendo-window/issues/24","repository_url":"https://api.github.com/repos/kjartanvalur/angular-kendo-window","labels_url":"https://api.github.com/repos/kjartanvalur/angular-kendo-window/issues/24/labels{/name}","comments_url":"https://api.github.com/repos/kjartanvalur/angular-kendo-window/issues/24/comments","events_url":"https://api.github.com/repos/kjartanvalur/angular-kendo-window/issues/24/events","html_url":"https://github.com/kjartanvalur/angular-kendo-window/issues/24","id":168447586,"number":24,"title":"suggestion implementing kwindow template instead of templateUrl","user":{"login":"johnnliu","id":1279372,"avatar_url":"https://avatars.githubusercontent.com/u/1279372?v=3","gravatar_id":"","url":"https://api.github.com/users/johnnliu","html_url":"https://github.com/johnnliu","followers_url":"https://api.github.com/users/johnnliu/followers","following_url":"https://api.github.com/users/johnnliu/following{/other_user}","gists_url":"https://api.github.com/users/johnnliu/gists{/gist_id}","starred_url":"https://api.github.com/users/johnnliu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/johnnliu/subscriptions","organizations_url":"https://api.github.com/users/johnnliu/orgs","repos_url":"https://api.github.com/users/johnnliu/repos","events_url":"https://api.github.com/users/johnnliu/events{/privacy}","received_events_url":"https://api.github.com/users/johnnliu/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-07-30T03:59:19Z","updated_at":"2016-08-01T11:52:08Z","closed_at":"2016-08-01T11:52:08Z","body":"I've found this to work quite a bit better and you don't need to upload window.html as well.\r\n\r\nAlternatively, with webpack - template: require('window.html')\r\n\r\n\r\n            template: '<div kendo-window=\"myKendoWindow\" k-options=\"options\" modal-render=\"{{$isRendered}}\" tabindex=\"-1\" role=\"dialog\" >    <div><div k-window-transclude></div></div>  </div>',\r\n\r\n            /*\r\n            templateUrl: function (tElement, tAttrs) {\r\n                var windowInstance = $modalStack.getTop().value;\r\n                return windowInstance.windowTemplateUrl || 'window.html';\r\n            },\r\n            */\r\n"}}
{"actor":{"display_login":"kjartanvalur"}}