Reference to ngAnimate now inside library instead of inside main app