Created
August 14, 2018 10:42
-
-
Save dennis-8/ffe0d50160bfbfe94b15ad3e1ea7a8bd to your computer and use it in GitHub Desktop.
AngularJS component - check if method callback is present
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
https://stackoverflow.com/a/38914917 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
In your controller inject $attrs and then you can do: