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

android - Automated my builds -

python - How to return the most similar word from a list of words? -

apache - GeoServer under https -