retooled to use ui-router