do search inside ng digest cycle