Angular directive for showing pending ("loading...") content