docs/v2.2.4/bower_components/angular-translate/angular-translate.js
function (translationId) {
              var deferred = $q.defer();
              var regardless = function (value) {
                results[translationId] = value;
                deferred.resolve([translationId, value]);
              };
              // we don't care whether the promise was resolved or rejected; just store the values
              $translate(translationId, interpolateParams, interpolationId, defaultTranslationText).then(regardless, regardless);
              return deferred.promise;
            }
function (translationId) {
              var deferred = $q.defer();
              var regardless = function (value) {
                results[translationId] = value;
                deferred.resolve([translationId, value]);
              };
              // we don't care whether the promise was resolved or rejected; just store the values
              $translate(translationId, interpolateParams, interpolationId, defaultTranslationText).then(regardless, regardless);
              return deferred.promise;
            }
function ( translationId ) { var deferred = $q . defer ( ) ; var regardless = function ( value ) { results [ translationId ] = value ; deferred . resolve ( [ translationId , value ] ) ; } ; // we don't care whether the promise was resolved or rejected; just store the values $translate ( translationId , interpolateParams , interpolationId , defaultTranslationText ) . then ( regardless , regardless ) ; return deferred . promise ; }
promises to wait for Wraps the promise a) being always resolved and b) storing the link id->value
promises to wait for Wraps the promise a ) being always resolved and b ) storing the link id - > value