Angular page is dedicated to AngularJs related stuff and blog post.
Please looking related post for AngularJs related post under the "Related Post" section.
Hope you like those posts and please keep reading blog.
Please give your suggestions and comments for blog improvement.
Please looking related post for AngularJs related post under the "Related Post" section.
Hope you like those posts and please keep reading blog.
Please give your suggestions and comments for blog improvement.
Hi Raghu, For reset $timeout, call cancel timeout on $destroy event so it will cancel timeout.
ReplyDeleteFor more detail please visit below link and go trough example mention on the link.
http://www.bennadel.com/blog/2548-don-t-forget-to-cancel-timeout-timers-in-your-destroy-events-in-angularjs.htm
For remove $watch please refer below link.
http://www.bennadel.com/blog/2480-unbinding-watch-listeners-in-angularjs.htm