Added angular-ui-router. Tried to migrate some stuff across.