Use $configProvider only in some views


#1

Hi everyone.

I need to do something using the the $configProvider only in some views. So lets say i have the state A and states 1, 2 and 3 who are children of A.
When i’m on A i ned the back button text to be hidden, i’m already using $ionicConfigProvider.backButton.text(’’).icon(‘ion-arrow-left-b’).previousTitleText(false); to achieve this, but this sets globally, and when i enter on state 1, 2 or 3 i need the back-button with a text.

Can i achieve this via configProvider or is there a way to do this on the controllers?

tnks