Hello @petebacondarwin,
I'm sure that isn't a bug but I don't find any kind of documentation so I try to ask here.
I'm trying to create a navbar with links that create a tree:
ex:
mod1
Services
service1
mod2
Controllers
MyCtrl
Directives
directive1
this is my template:
{% if doc.dependencies.length -%}
Index
{%- for dep in doc.dependencies %}
{$ dep | relativeLink(doc) $}
<!-- Services and Controllers for each module -->
{% for groupName, group in dep.groups %}
{% if group.children.length %}
<material-divider></material-divider>
{$ group | relativeLink(doc, group.title) $}
{% for component in group.children %}
{$ component | relativeLink(doc) $}
{%- endfor %}
{%- endif %}
{%- endfor %}
{%- endfor %}
{%- endif %}
The tree is generate correctly but the problem is that when I click on the links (i.e. MyCtrl) the tree change with the dependencies of MyCtrl.
How I can generate the same menu for all the pages?
Hello @petebacondarwin, I'm sure that isn't a bug but I don't find any kind of documentation so I try to ask here. I'm trying to create a navbar with links that create a tree: ex: mod1 Services service1 mod2 Controllers MyCtrl Directives directive1
this is my template: {% if doc.dependencies.length -%}
Index
{%- endif %}
The tree is generate correctly but the problem is that when I click on the links (i.e. MyCtrl) the tree change with the dependencies of MyCtrl.
How I can generate the same menu for all the pages?