thenikso/angular-inview

Dispose after first call

Opened this issue · 0 comments

Hi!

Thanks for the lib, it's really cool! One thing would be very useful: pass the dispose function as a data attribute into the in-view expression. It is quite common that the expression should be called only once and having it watched till the scope destroys is quite costly, especially when you have many in-view elements.

Thank you in advance!