angularjs - How to force angular temporarily unwatch variable? -


i have articles json. when event happens, need make multiple slicing of it. every single slice force update html, undesired me. angular stop watching variable, "fancy" changes, , tell angular start watching articles json again. possible?

here fiddle:

http://jsfiddle.net/2qr4s/3/

i have found such method, unbinds watch forever , not find how rebind again:

var myevent = $scope.$on('someevents', handlesomeevent); myevent() ; // unbinds event 


Comments

Popular posts from this blog

how to proxy from https to http with lighttpd -

android - Automated my builds -

python - Flask migration error -