Ionic state changed by directive (unintended)


#1

I use this directive :

http://mcgivery.com/ionic-showwhen-directive

To show some tabs in specific states. The problem is that breaks the default state, configured with

$urlRouterProvider.otherwise(‘someState’);

Load by default some of the states used in the directive’s condition… .

In the directive’s code i dont see something wrong, not even manipulate the state… .

Any ideas ?
Thanks!