Ionic state changed by directive (unintended)


I use this directive :

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


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 ?