Got ui-routing to work correctly.