javascript - angular morphing current view -
say have 2 custom elements <card1>
, <card2>
independent of each other meaning can create arbitrary amount of each , each of them have different models.
what want when action happens in <card1>
creates <card2>
within <card1>
(preferably animation) or morphs <card1>
<card2>
. dont want have predefine <card2>
within <card1>
, hide until interaction happens. because want scalable if decide create card3 or card4 , have them appear based on interaction
what best way structure view, controller, template, ...?
Comments
Post a Comment