I don't want to use "| async pipe" because I don't want to get data for every component. My transform function below:
transform(key: string, ...args) {
this.storage.get("dictionary").then((dict) => {
var translated = dict[key] || "noResource";
console.log("key = "+key + ", value = "+translated);
return translated;
});
}
I can get key and values but value does not rendered. I tried ngZone
but not working.