updates views to use ui-router