Updated ionic loading deprecated hide function