<container-element [ngSwitch]="onStep">
<some-element *ngSwitchCase="1">...</some-element>
<some-element *ngSwitchCase="2">...</some-element>
<some-element *ngSwitchCase="3">...</some-element>
</container>
Well, i think is a good solution for my case…
Thanks a lot!!
Max
Da: ang...@googlegroups.com [mailto:ang...@googlegroups.com] Per conto di Sander Elias
Inviato: lunedì 29 maggio 2017 14:21
A: Angular and AngularJS discussion <ang...@googlegroups.com>
Oggetto: [AngularJS] Re: Angular - Best practice for multi components in the same "page"
--
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/BEVgjb92yBI/unsubscribe.
To unsubscribe from this group and all its topics, send an email to angular+u...@googlegroups.com.
To post to this group, send email to ang...@googlegroups.com.
Visit this group at https://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.