{% import "lib/macros.html" as lib -%} {% extends "api/api.template.html" %} {% block additional %} {% block usage %}

Usage

{% if doc.usage %} {$ doc.usage | marked $} {% else %} {% 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 -%} {# skip attribute with name equal to directive name #} {%- if (doc.name != param.alias and doc.name != param.name) %} {$ lib.directiveParam(param, '="', '"') $} {%- endif -%} {%- endfor %}> {% endcode %} {%- endif %}
{% endblock -%} {%- if doc.animations %}

Animations

{$ 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" %} {% include "lib/throws.template.html" %} {% endblock %}