Hi I have a directive which spits out a <video> tag. It is necessary to DOM destroy() that object. How do I programatically force the directive to recreate something which isn't there any more ?
<div id="video-container" videoplayer> </div> 1. "videoplayer" directive say renders a child <video> object. 2. in my app, i have to destroy the <video> 3. later on in my app, user chooses a different video and i want to re-create the videplayer. Please don't ask why i need to re-create the object or why I can't replace the video url etc. Thanks -- You received this message because you are subscribed to the Google Groups "AngularJS" 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 http://groups.google.com/group/angular. For more options, visit https://groups.google.com/d/optout.
