Angular Check If Image Is Loaded