Add example for using $animate promises