{"action":"created","issue":{"url":"https://api.github.com/repos/driftyco/ionic/issues/3531","labels_url":"https://api.github.com/repos/driftyco/ionic/issues/3531/labels{/name}","comments_url":"https://api.github.com/repos/driftyco/ionic/issues/3531/comments","events_url":"https://api.github.com/repos/driftyco/ionic/issues/3531/events","html_url":"https://github.com/driftyco/ionic/issues/3531","id":68677374,"number":3531,"title":"bug: $ionicConfig setting back button text is not applied globally","user":{"login":"rsweny","id":1033028,"avatar_url":"https://avatars.githubusercontent.com/u/1033028?v=3","gravatar_id":"","url":"https://api.github.com/users/rsweny","html_url":"https://github.com/rsweny","followers_url":"https://api.github.com/users/rsweny/followers","following_url":"https://api.github.com/users/rsweny/following{/other_user}","gists_url":"https://api.github.com/users/rsweny/gists{/gist_id}","starred_url":"https://api.github.com/users/rsweny/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rsweny/subscriptions","organizations_url":"https://api.github.com/users/rsweny/orgs","repos_url":"https://api.github.com/users/rsweny/repos","events_url":"https://api.github.com/users/rsweny/events{/privacy}","received_events_url":"https://api.github.com/users/rsweny/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-04-15T13:05:48Z","updated_at":"2015-04-15T21:26:15Z","closed_at":"2015-04-15T21:23:06Z","body":"**Type**: <span ionic-type>bug</span>\r\n\r\n**Platform**: <span ionic-platform>all</span>\r\n\r\n**Platform Versions**: <span ionic-platform>all</span>\r\n\r\n<span ionic-description>Using $ionicConfigProvider I can set the Back button text to a custom string and this takes effect globally on every screen:\r\n\r\n$ionicConfigProvider.platform.ios.backButton.previousTitleText(false).text(backText).icon('ion-ios-arrow-back');\r\n\r\nHowever if the user later changes their language, $ionicConfigProvider can no longer be used since it is broken when accessed from within a controller. Instead I have used $ionicConfig like this:\r\n\r\n$ionicConfig.platform.ios.backButton.previousTitleText(false).text(backText).icon('ion-ios-arrow-back');\r\n\r\nThis will change the back text on the current screen, but all other screens will still have the old text. I would like changes to $ionicConfig to take places globally like they do for $ionicConfigProvider. Or just fix $ionicConfigProvider so it can be used from a controller.</span>\r\n\r\n<span is-issue-template></span>\r\n"},"comment":{"url":"https://api.github.com/repos/driftyco/ionic/issues/comments/93573982","html_url":"https://github.com/driftyco/ionic/issues/3531#issuecomment-93573982","issue_url":"https://api.github.com/repos/driftyco/ionic/issues/3531","id":93573982,"user":{"login":"rsweny","id":1033028,"avatar_url":"https://avatars.githubusercontent.com/u/1033028?v=3","gravatar_id":"","url":"https://api.github.com/users/rsweny","html_url":"https://github.com/rsweny","followers_url":"https://api.github.com/users/rsweny/followers","following_url":"https://api.github.com/users/rsweny/following{/other_user}","gists_url":"https://api.github.com/users/rsweny/gists{/gist_id}","starred_url":"https://api.github.com/users/rsweny/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rsweny/subscriptions","organizations_url":"https://api.github.com/users/rsweny/orgs","repos_url":"https://api.github.com/users/rsweny/repos","events_url":"https://api.github.com/users/rsweny/events{/privacy}","received_events_url":"https://api.github.com/users/rsweny/received_events","type":"User","site_admin":false},"created_at":"2015-04-15T21:26:14Z","updated_at":"2015-04-15T21:26:14Z","body":"duplicate of #3281"}}