Add angular ui-router functionality.