preventing digest loop on rootscope.