OptionalbindWhether to bind scope to controller
Optionalcompile
Compile function for the directive
Optionalcontroller
Controller constructor or injectable string name
OptionalcontrollerAlias name for the controller in templates
Optionalcount
Currently only used by view directive
Optionallink
Link function(s) executed during linking
Optionalname
Optional name (usually inferred)
Optionalpriority
Priority of the directive
Optionalreplace
Replaces the element with the template if true
Optionalrequire
Required controllers for the directive
Optionalrestrict
Restrict option: 'A' and/or 'E'. Defaults to 'EA' if not defined
Optionalscope
Scope configuration (true, false, or
object for isolate scope)
Optionaltemplate
Inline template
OptionaltemplateTemplate namespace (e.g., SVG, HTML)
OptionaltemplateTemplate URL for loading from server
Optionalterminal
Stops further directive processing if true
Optionaltransclude
Enables transclusion or configures named slots
Defines the structure of an AngularTS directive.