this is unnecessary - you can just put there later `return $q.all` and it will return promise. and in `then` block just return items. and it would also reject when there is an `$http` error