app/modules/main/directives/helpers/mdtAnimateSortIconHandlerDirective.js
(function(){
'use strict';
function mdtAnimateSortIconHandlerDirective(){
return {
restrict: 'A',
scope: false,
link: function($scope, element){
if($scope.animateSortIcon){
element.addClass('animate-sort-icon');
}
}
};
}
angular
.module('mdDataTable')
.directive('mdtAnimateSortIconHandler', mdtAnimateSortIconHandlerDirective);
}());