Using a resolve in the controller to better the consistency of our data promise