updating to version without $animate-injection