Could you just initialize `$scope.environmentsTable` and then allow the `$http.get()` below to update it instead of using the conditional?