Last active
August 29, 2015 14:07
-
-
Save keithmancuso/dd2c539dc85b4bc9736d to your computer and use it in GitHub Desktop.
Jquery initialize directive
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
app.directive ('modal', function() { | |
return { | |
replace: false, | |
link:function (scope, element, attrs) { | |
element.fitVids(); | |
} | |
} | |
}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment