Makes use of the ui-router's resolve parameter.

Fixes a bug where navigating between parent states and child states would either make too many calls, or not enough calls to the server.

The data now stays up-to-date through use of the ui-router's resolve parameter.