Stwórz próbną obietnicę Angular

return new Promise<string>(resolve => resolve(localStringValue));
ChernobylBob