Created
September 23, 2016 18:07
-
-
Save lucaswxp/68f44f33a3eb53cad4ddc30561a195bd to your computer and use it in GitHub Desktop.
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
<a rdz-modal="contato">Abrir modal contato</a> | |
.directive('rdzModal', function($rootScope){ | |
return { | |
restrict: 'A', | |
link: function(scope, element, attrs){ | |
alert(attrs.rdzModal) // ISSO E UMA STRING | |
} | |
} | |
}) | |
<a rdz-modal="'contato'">Abrir modal contato</a> NAO ERA ASSIM Q EU TINHA Q FAZER PRA DAR CERTO? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment