{"action":"created","issue":{"url":"https://api.github.com/repos/elastic/kibana/issues/5226","labels_url":"https://api.github.com/repos/elastic/kibana/issues/5226/labels{/name}","comments_url":"https://api.github.com/repos/elastic/kibana/issues/5226/comments","events_url":"https://api.github.com/repos/elastic/kibana/issues/5226/events","html_url":"https://github.com/elastic/kibana/issues/5226","id":114052609,"number":5226,"title":"Optionally turning off router for Kibana apps","user":{"login":"kjbekkelund","id":5259,"avatar_url":"https://avatars.githubusercontent.com/u/5259?v=3","gravatar_id":"","url":"https://api.github.com/users/kjbekkelund","html_url":"https://github.com/kjbekkelund","followers_url":"https://api.github.com/users/kjbekkelund/followers","following_url":"https://api.github.com/users/kjbekkelund/following{/other_user}","gists_url":"https://api.github.com/users/kjbekkelund/gists{/gist_id}","starred_url":"https://api.github.com/users/kjbekkelund/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kjbekkelund/subscriptions","organizations_url":"https://api.github.com/users/kjbekkelund/orgs","repos_url":"https://api.github.com/users/kjbekkelund/repos","events_url":"https://api.github.com/users/kjbekkelund/events{/privacy}","received_events_url":"https://api.github.com/users/kjbekkelund/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/elastic/kibana/labels/discuss","name":"discuss","color":"cc317c"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":17,"created_at":"2015-10-29T13:46:42Z","updated_at":"2015-11-11T14:35:15Z","closed_at":null,"body":"The current Kibana router is heavily oriented towards Angular apps. Is it possible to (optionally, of course) turn it off for Kibana apps, so each app can choose to use its own router internally?\r\n\r\n I see [where `ngRoute` is included](https://github.com/elastic/kibana/search?utf8=%E2%9C%93&q=ngRoute&type=Code) now, and as far as I can see, because of [this include](https://github.com/elastic/kibana/blob/76ee5abfcff80a5007a4bf794d3d8ce53a22a2a9/webpackShims/angular.js), it doesn't matter if you don't  `require('ui/routes')` in the app? `ngRoute` is already included and has therefore started up. (I'm still not too familiar with the code base, so might be I've missed something)\r\n\r\nWould it be possible to re-structure so `ngRoute` is _only_ started when `ui/routes` is required?"},"comment":{"url":"https://api.github.com/repos/elastic/kibana/issues/comments/155798755","html_url":"https://github.com/elastic/kibana/issues/5226#issuecomment-155798755","issue_url":"https://api.github.com/repos/elastic/kibana/issues/5226","id":155798755,"user":{"login":"kjbekkelund","id":5259,"avatar_url":"https://avatars.githubusercontent.com/u/5259?v=3","gravatar_id":"","url":"https://api.github.com/users/kjbekkelund","html_url":"https://github.com/kjbekkelund","followers_url":"https://api.github.com/users/kjbekkelund/followers","following_url":"https://api.github.com/users/kjbekkelund/following{/other_user}","gists_url":"https://api.github.com/users/kjbekkelund/gists{/gist_id}","starred_url":"https://api.github.com/users/kjbekkelund/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kjbekkelund/subscriptions","organizations_url":"https://api.github.com/users/kjbekkelund/orgs","repos_url":"https://api.github.com/users/kjbekkelund/repos","events_url":"https://api.github.com/users/kjbekkelund/events{/privacy}","received_events_url":"https://api.github.com/users/kjbekkelund/received_events","type":"User","site_admin":false},"created_at":"2015-11-11T14:35:15Z","updated_at":"2015-11-11T14:35:15Z","body":"That would be great, @rashidkpc @spalger.\r\n\r\nYou are probably busy in AMS this week, so maybe early next week? Me and @alexbrasetvik will be in SF from late monday, so probably tuesday, if that works for you?"}}