Add guard code. Note:
* At some point we need to revisit the pattern of getting data on controller initialization.
* AM am seeing multiple calls with the  to backend and have also seen it in other controllers.
* Angular seems to call the controller function several times and we can optimize some of the exess backend calls away.