Uses ui-router to render state