stopping the use of $animate