angular loading bar not working