{"action":"opened","issue":{"url":"https://api.github.com/repos/IMA-WorldHealth/bhima-2.X/issues/206","repository_url":"https://api.github.com/repos/IMA-WorldHealth/bhima-2.X","labels_url":"https://api.github.com/repos/IMA-WorldHealth/bhima-2.X/issues/206/labels{/name}","comments_url":"https://api.github.com/repos/IMA-WorldHealth/bhima-2.X/issues/206/comments","events_url":"https://api.github.com/repos/IMA-WorldHealth/bhima-2.X/issues/206/events","html_url":"https://github.com/IMA-WorldHealth/bhima-2.X/issues/206","id":142934047,"number":206,"title":"Implement State Based Router","user":{"login":"sfount","id":2844572,"avatar_url":"https://avatars.githubusercontent.com/u/2844572?v=3","gravatar_id":"","url":"https://api.github.com/users/sfount","html_url":"https://github.com/sfount","followers_url":"https://api.github.com/users/sfount/followers","following_url":"https://api.github.com/users/sfount/following{/other_user}","gists_url":"https://api.github.com/users/sfount/gists{/gist_id}","starred_url":"https://api.github.com/users/sfount/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sfount/subscriptions","organizations_url":"https://api.github.com/users/sfount/orgs","repos_url":"https://api.github.com/users/sfount/repos","events_url":"https://api.github.com/users/sfount/events{/privacy}","received_events_url":"https://api.github.com/users/sfount/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/IMA-WorldHealth/bhima-2.X/labels/Design","name":"Design","color":"f7c6c7"},{"url":"https://api.github.com/repos/IMA-WorldHealth/bhima-2.X/labels/Programming","name":"Programming","color":"d4c5f9"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/IMA-WorldHealth/bhima-2.X/milestones/1","html_url":"https://github.com/IMA-WorldHealth/bhima-2.X/milestones/2.x%20Process","labels_url":"https://api.github.com/repos/IMA-WorldHealth/bhima-2.X/milestones/1/labels","id":1661435,"number":1,"title":"2.x Process","description":"Any design or code referenced by the 2.x completion review process.","creator":{"login":"sfount","id":2844572,"avatar_url":"https://avatars.githubusercontent.com/u/2844572?v=3","gravatar_id":"","url":"https://api.github.com/users/sfount","html_url":"https://github.com/sfount","followers_url":"https://api.github.com/users/sfount/followers","following_url":"https://api.github.com/users/sfount/following{/other_user}","gists_url":"https://api.github.com/users/sfount/gists{/gist_id}","starred_url":"https://api.github.com/users/sfount/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sfount/subscriptions","organizations_url":"https://api.github.com/users/sfount/orgs","repos_url":"https://api.github.com/users/sfount/repos","events_url":"https://api.github.com/users/sfount/events{/privacy}","received_events_url":"https://api.github.com/users/sfount/received_events","type":"User","site_admin":false},"open_issues":2,"closed_issues":0,"state":"open","created_at":"2016-03-23T07:38:02Z","updated_at":"2016-03-23T11:28:10Z","due_on":"2016-04-23T23:00:00Z","closed_at":null},"comments":0,"created_at":"2016-03-23T11:28:10Z","updated_at":"2016-03-23T11:28:10Z","closed_at":null,"body":"The need for correctly handling state in application modules has been recorded for a while - https://github.com/IMA-WorldHealth/bhima-2.X/issues/51. \r\n\r\nAt this point many configuration (management modules) have been developed and is essential that a good standard for how to proceed with module routing is developed. There are many reviews on code that notice a weakness in state management. \r\n\r\nRouting should either be implemented with UI-Router or Component Router (towards Angular 2); with a proof of concept implemented as soon as possible. "}}