Created
September 30, 2014 08:49
-
-
Save Luxiyalu/39bffc21b8e97b26c094 to your computer and use it in GitHub Desktop.
AngularJS Directive: Disable Ng-Animate
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# use: fix the bug when angular-ui-bootstrap slider flickers | |
app.directive 'disableNgAnimate', ($animate) -> | |
restrict: 'A' | |
link: ($scope, $element) -> $animate.enabled(false, $element) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment