I have a kludge in angular application that checks dom tree regularly (using javascript function setinterval) and updates some stuff (this code is related to lack of some DOM tr