using ui-router to better support angular