This solves my problem at the moment. But the idea was to keep the application composant oriented.
I was following this issue https://github.com/angular/angular-cli/issues/10567#issuecomment-449568450 But I don't know if it will solve it. Le ven. 15 mars 2019 à 21:12, Sander Elias <sanderel...@gmail.com> a écrit : > Question, > > Can you solve your issue like this: > https://stackblitz.com/edit/angular-eydtvf?file=src%2Fapp%2Fapp.component.ts > > -- > You received this message because you are subscribed to a topic in the > Google Groups "Angular and AngularJS discussion" group. > To unsubscribe from this topic, visit > https://groups.google.com/d/topic/angular/0U1Mwi5HBMk/unsubscribe. > To unsubscribe from this group and all its topics, send an email to > angular+unsubscr...@googlegroups.com. > To post to this group, send email to angular@googlegroups.com. > Visit this group at https://groups.google.com/group/angular. > For more options, visit https://groups.google.com/d/optout. > -- 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 angular+unsubscr...@googlegroups.com. To post to this group, send email to angular@googlegroups.com. Visit this group at https://groups.google.com/group/angular. For more options, visit https://groups.google.com/d/optout.