# Controllers loading twice

**URL:** <https://forum.ionicframework.com/t/controllers-loading-twice/462>\
**Category:** ionic-v1\
**Created:** [January 9, 2014, 4:55am UTC](https://forum.ionicframework.com/t/controllers-loading-twice/462 "2014-01-09T04:55:51Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![timcash](https://avatars.discourse-cdn.com/v4/letter/t/e19b73/32.png) [@timcash](https://forum.ionicframework.com/u/timcash)\
**Post date:** [January 9, 2014, 4:55am UTC](https://forum.ionicframework.com/t/controllers-loading-twice/462/1 "2014-01-09T04:55:51Z")

</div>

I am using a side-bar with links that route to nav-pages. each time I click a link the controllers load twice. In the routing stack I get things like ["/user", “/user/”, “/login”, “/login/”] … is this normal?

---

<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:** [January 9, 2014, 12:56pm UTC](https://forum.ionicframework.com/t/controllers-loading-twice/462/2 "2014-01-09T12:56:42Z")

</div>

I’ve fought with this before too on non-ionic projects. Try this answer. If it doesn’t work, buzz back

> <https://stackoverflow.com/questions/14442954/angularjs-controller-is-called-twice-by-using-routeprovider/14443268#14443268>

---

<div class="post-metadata">

**Author:** ![timcash](https://avatars.discourse-cdn.com/v4/letter/t/e19b73/32.png) [@timcash](https://forum.ionicframework.com/u/timcash)\
**Post date:** [January 9, 2014, 6:36pm UTC](https://forum.ionicframework.com/t/controllers-loading-twice/462/3 "2014-01-09T18:36:45Z")

</div>

That works! thankyou.
