Angular Page is refreshing all the time..I am attaching the link of my qus from stack overflow