refactor to use angular ui-route