Another attempt at angular sel wait