as element:
{% if doc.name.indexOf('ng') == 0 -%}
(This directive can be used as custom element, but be aware of IE restrictions).
{%- endif %}
{% code %}
<{$ doc.name | dashCase $}
{%- for param in doc.params %}
{$ directiveParam(param.alias or param.name, param.type, '="', '"') $}
{%- endfor %}>
...
{$ doc.name | dashCase $}>
{% endcode %}
{% endif -%}
{%- if doc.restrict.attribute -%}
as attribute:
{% code %}
<{$ doc.element $}
{%- for param in doc.params %}
{$ directiveParam(param.name, param.type, '="', '"') $}
{%- endfor %}>
...
{$ doc.element $}>
{% endcode %}
{$ doc.animations | marked $}
{$ 'module:ngAnimate.$animate' | link('Click here', doc) $} to learn more about the steps involved in the animation.
{%- endif -%}
{% include "lib/params.template.html" %}
{% include "lib/events.template.html" %}
{% endblock %}