add ui-router functionality for single view