Redirect to home if angular application is not loaded