Created
July 6, 2014 08:00
-
-
Save carlospliego/f994db807f1cc696827b to your computer and use it in GitHub Desktop.
HolderJs fix for angularJS
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 strict'; | |
app.directive('holderFix', function () { | |
return { | |
link: function (scope, element, attrs) { | |
Holder.run({ images: element[0], nocss: true }); | |
} | |
}; | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment