# Dynamic menu

**URL:** <https://forum.ionicframework.com/t/dynamic-menu/4777>\
**Category:** ionic-v1\
**Created:** [May 26, 2014, 9:05am UTC](https://forum.ionicframework.com/t/dynamic-menu/4777 "2014-05-26T09:05:18Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![logicunit](https://avatars.discourse-cdn.com/v4/letter/l/34f0e0/32.png) [@logicunit](https://forum.ionicframework.com/u/logicunit)\
**Post date:** [May 26, 2014, 9:05am UTC](https://forum.ionicframework.com/t/dynamic-menu/4777/1 "2014-05-26T09:05:19Z")

</div>

Hello,

I want to make a dynamic menu like bellow, but {{[tab.name](http://tab.name)}} deoes not get replaced with the value from the controler.

```
<ion-tab title="{{tab.title}}" icon="icon {{tab.icon}}" href="{{tab.href}}" ng-repeat="tab in tabs">
    <ion-nav-view name="{{tab.name}}"></ion-nav-view>
</ion-tab>

```

any suggestions?

thanks

---

<div class="post-metadata">

**Author:** ![mhartington](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/mhartington/32/137757_2.png) [@mhartington](https://forum.ionicframework.com/u/mhartington)\
**Post date:** [May 27, 2014, 2:13am UTC](https://forum.ionicframework.com/t/dynamic-menu/4777/2 "2014-05-27T02:13:36Z")

</div>

Seems that this isn’t possible with `ion-nav-view`. I’ve open up an issue for this.

> <https://github.com/ionic-team/ionic/issues/1503>

---

<div class="post-metadata">

**Author:** ![Calendee](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/calendee/32/13656_2.png) [@Calendee](https://forum.ionicframework.com/u/Calendee)\
**Post date:** [May 27, 2014, 12:43pm UTC](https://forum.ionicframework.com/t/dynamic-menu/4777/3 "2014-05-27T12:43:43Z")

</div>

If this worked, how would you target in the route config?

---

<div class="post-metadata">

**Author:** ![Calendee](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/calendee/32/13656_2.png) [@Calendee](https://forum.ionicframework.com/u/Calendee)\
**Post date:** [May 29, 2014, 7:39pm UTC](https://forum.ionicframework.com/t/dynamic-menu/4777/4 "2014-05-29T19:39:17Z")

</div>

FYI : I’ve submitted a pull request for this because I suddenly found myself needing it too.

> <https://github.com/ionic-team/ionic/pull/1526>

---

<div class="post-metadata">

**Author:** ![logicunit](https://avatars.discourse-cdn.com/v4/letter/l/34f0e0/32.png) [@logicunit](https://forum.ionicframework.com/u/logicunit)\
**Post date:** [May 29, 2014, 8:32pm UTC](https://forum.ionicframework.com/t/dynamic-menu/4777/5 "2014-05-29T20:32:11Z")

</div>

cool thanks!. To answer the previous question I would just set up route url with parameter

---

<div class="post-metadata">

**Author:** ![Calendee](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/calendee/32/13656_2.png) [@Calendee](https://forum.ionicframework.com/u/Calendee)\
**Post date:** [May 30, 2014, 3:28pm UTC](https://forum.ionicframework.com/t/dynamic-menu/4777/6 "2014-05-30T15:28:31Z")

</div>

FYI : I’ve created a project that uses this modified `ionNavView` directive

> **[Dynamic States & Views](http://forum.ionicframework.com/t/dynamic-states-views/5006)**
>
> I’ve been working on a project that requires routing and tab views that are completely dynamic. The app does not know about the tabs and routing until after the info is loaded from the server. To test out the concept, I put up a sample project. ...
