{"action":"opened","issue":{"url":"https://api.github.com/repos/lightblue-platform/lightblue-applications/issues/59","labels_url":"https://api.github.com/repos/lightblue-platform/lightblue-applications/issues/59/labels{/name}","comments_url":"https://api.github.com/repos/lightblue-platform/lightblue-applications/issues/59/comments","events_url":"https://api.github.com/repos/lightblue-platform/lightblue-applications/issues/59/events","html_url":"https://github.com/lightblue-platform/lightblue-applications/issues/59","id":56416637,"number":59,"title":"Separate production from in-development datamgmt app","user":{"login":"alechenninger","id":3496559,"avatar_url":"https://avatars.githubusercontent.com/u/3496559?v=3","gravatar_id":"","url":"https://api.github.com/users/alechenninger","html_url":"https://github.com/alechenninger","followers_url":"https://api.github.com/users/alechenninger/followers","following_url":"https://api.github.com/users/alechenninger/following{/other_user}","gists_url":"https://api.github.com/users/alechenninger/gists{/gist_id}","starred_url":"https://api.github.com/users/alechenninger/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alechenninger/subscriptions","organizations_url":"https://api.github.com/users/alechenninger/orgs","repos_url":"https://api.github.com/users/alechenninger/repos","events_url":"https://api.github.com/users/alechenninger/events{/privacy}","received_events_url":"https://api.github.com/users/alechenninger/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-02-03T18:25:46Z","updated_at":"2015-02-03T18:25:46Z","closed_at":null,"body":"Right now, the code you develop against is the same as the code deployed for use. This is problematic for a few reasons:\r\n\r\n- [ ] In production, should use all minified dependencies for smaller download. In development, you want unminified for debugging.\r\n- [ ] In production, [should disable debug info in angular for performance](https://docs.angularjs.org/guide/production). In development, you want this for debugging.\r\n\r\nInternally, @paterczm has used a separate test index.html for this and I think that is a good idea. The test index.html imports the minified dependencies, and imports an alternative js/app.js that disables angular debug info (or perhaps it is an additional file that does this only, to prevent duplication). When developing and testing, open the indexTest.html, otherwise use index.html."}}