Try to modulize code for maintainable
Add angular-ui-route