Created
November 26, 2014 20:04
-
-
Save gsans/c241e26364e18f77a338 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
<profile onAlert=”alert(message)”></profile> | |
scope : { local_onAlert: “&onAlert” } //using alias | |
scope : { onAlert: “&” } //abbreviation when using identical names | |
//Usage: | |
// local_onAlert({message:”hey”}); | |
// onAlert({message:”hey”}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment