scope.$on('$destroy', function(){
// change src and call load on the video element
})
also works, and might be cleaner than $routeChangeStart, since it would
also be called even when the route does not change (ng-if for instance).
--
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.