Made $animate optional for older versions of ng (pre 1.2); tagging 0.3.1.