I have an angular 4 app, almost identical to gmail. A column of buttons each with a corresponding "component" to get displayed on the right of the buttons.
I used ngSwitch to do this but the component would get recreated from scratch since it was not in the DOM anymore. That seems inefficient, is there another directive that I can use to just simply effectively change the z-order of the custom components, put the correct one on the top... Or is it a natural fit for routing? A route for each custom component that shows up on the right side? Thoughts or guidance? -- 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.
