This repository was archived by the owner on Apr 12, 2024. It is now read-only.
This repository was archived by the owner on Apr 12, 2024. It is now read-only.
ng-animate addClass, classNameFilter and svg element does not work together #14508
Closed
Description
Plunk - http://plnkr.co/edit/Wk0yHL
Element rotates on button click via adding 'fsp-refresh-icon--rotated' and on animation end this class must be removed. If you uncomment
$animateProvider.classNameFilter(/use-animate/);
then animation will not work - $animate.addClass() promises resolves instantly after start.
With div
element everything works well(.styled
commented out div in template near svg, uncomment it and comment out svg)