changed ui-router to handle two views