improving loading search inside angular async view