docs/config/templates/ngdoc/api/module.template.html
{% extends "base.template.html" %} {% import "lib/deprecated.html" as x %} {% block content %}
{$ x.deprecatedBlock(doc) $}
{% if doc.installation or doc.installation == '' %} {$ doc.installation | marked $} {% else %}
First, get the file:
where X.Y.Z is the AngularJS version you are running.
Then, include {$ doc.packageFile | code $} in your HTML:
{% code %} {% endcode %}
Finally, load the module in your application by adding it as a dependent module:
{% code %} angular.module('app', ['{$ doc.name $}']); {% endcode %}
With that you're ready to get started!
{% endif %} {$ doc.description | marked $} {% if doc.knownIssueDocs %}
| Name | Description |
|---|---|
| {% for issueDoc in doc.knownIssueDocs -%} | {$ issueDoc.id |
{% endif %} {% endfor -%} | {% endfor -%}
{% endif %} {% if doc.componentGroups.length %}
{% for componentGroup in doc.componentGroups %}
| Name | Description |
|---|---|
| {% for component in componentGroup.components %} | {$ component.id |
| {% endfor %} |
{% endfor %} {% endif %} {% if doc.usage %}
{$ doc.usage | marked $} {% endif %} {% endblock %}