Hello everyone,
I got an ngIf div that contains piped translations, outside of the ngIf they work, inside of it, it depends (pipes are pure and should then be refreshed when translations arrive) I load translation inside a service, pipes are all subscribed to an observable from that service so they get notified when translations arrive and refresh themselves in another service, I load product informations, if I load that json via http, - it works when the json is part of the angular project - it does not work if the json is on another url (php) - problem is intermitent (adding an empty line in any file makes the plunkr refresh and sometimes translations show up, sometimes not) I created a plukr https://plnkr.co/edit/RITJVLa19UvqDhzvXzgs the whole problem is in src/data.service.ts, you can see one "does work" line and one "does not work line" I cant figure why it's not working, in both cases, the json and traductions get fetched thanks -- You received this message because you are subscribed to the Google Groups "Angular and AngularJS discussion" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/angular. For more options, visit https://groups.google.com/d/optout.
