code: function populate(_records, _params) {
      var promises = [];
      for(var i = 0; i < _records.length; i++) {
        promises.push(_records[i].$resolve(_params).$asPromise());
      }
      return $q.all(promises);
    }
docs: simple populate implementation for models that do not provide a $populate function