Reputation: 209
Some directives use some cryptic chars in their require property, like the angular ui dropdow
require:"?^dropdown"
I'm ok with ^
which mean parent but I can't figured out what ?
means.
Thank you!
Upvotes: 3
Views: 417
Reputation: 825
As the code says:
[
'siblingDirectiveName',
'^parentDirectiveName',
'?optionalSiblingDirectiveName',
'?^optionalParentDirectiveName'
]
Upvotes: 1