Access $ionicPlatform inside controller

I want to change Ionic configuration (the “back” button text).
I can do it inside config function, but I am using angular translate so I need to make it dynamically…

Any suggestions?