Optional$$addInternal hook for directive compilation state
OptionalbindWhether to bind scope to controller
OptionalcompileCompile function for the directive
OptionalcontrollerController constructor or injectable string name
OptionalcontrollerAlias name for the controller in templates
OptionalcountOptionallinkLink function(s) executed during linking
OptionalnameOptional name (usually inferred)
OptionalpriorityPriority of the directive
OptionalreplaceReplaces the element with the template if true
OptionalrequireRequired controllers for the directive
OptionalrestrictRestrict option: 'A' and/or 'E'. Defaults to 'EA' if not defined
OptionalscopeScope configuration (true, false, or object for isolate scope)
OptionaltemplateInline template
OptionaltemplateTemplate namespace (e.g., SVG, HTML)
OptionaltemplateTemplate URL for loading from server
OptionalterminalStops further directive processing if true
OptionaltranscludeEnables transclusion or configures named slots
Defines the structure of an AngularTS directive.