{"action":"created","issue":{"url":"https://api.github.com/repos/cgarvis/angular-toggle-switch/issues/71","labels_url":"https://api.github.com/repos/cgarvis/angular-toggle-switch/issues/71/labels{/name}","comments_url":"https://api.github.com/repos/cgarvis/angular-toggle-switch/issues/71/comments","events_url":"https://api.github.com/repos/cgarvis/angular-toggle-switch/issues/71/events","html_url":"https://github.com/cgarvis/angular-toggle-switch/issues/71","id":90663468,"number":71,"title":"Setting on-label   and  off-label globally","user":{"login":"salarmehr","id":2582036,"avatar_url":"https://avatars.githubusercontent.com/u/2582036?v=3","gravatar_id":"","url":"https://api.github.com/users/salarmehr","html_url":"https://github.com/salarmehr","followers_url":"https://api.github.com/users/salarmehr/followers","following_url":"https://api.github.com/users/salarmehr/following{/other_user}","gists_url":"https://api.github.com/users/salarmehr/gists{/gist_id}","starred_url":"https://api.github.com/users/salarmehr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/salarmehr/subscriptions","organizations_url":"https://api.github.com/users/salarmehr/orgs","repos_url":"https://api.github.com/users/salarmehr/repos","events_url":"https://api.github.com/users/salarmehr/events{/privacy}","received_events_url":"https://api.github.com/users/salarmehr/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-06-24T12:37:05Z","updated_at":"2015-06-24T14:23:58Z","closed_at":"2015-06-24T14:23:58Z","body":"Is it possible to set  on-label   and  off-label globally? "},"comment":{"url":"https://api.github.com/repos/cgarvis/angular-toggle-switch/issues/comments/114885239","html_url":"https://github.com/cgarvis/angular-toggle-switch/issues/71#issuecomment-114885239","issue_url":"https://api.github.com/repos/cgarvis/angular-toggle-switch/issues/71","id":114885239,"user":{"login":"cgarvis","id":213125,"avatar_url":"https://avatars.githubusercontent.com/u/213125?v=3","gravatar_id":"","url":"https://api.github.com/users/cgarvis","html_url":"https://github.com/cgarvis","followers_url":"https://api.github.com/users/cgarvis/followers","following_url":"https://api.github.com/users/cgarvis/following{/other_user}","gists_url":"https://api.github.com/users/cgarvis/gists{/gist_id}","starred_url":"https://api.github.com/users/cgarvis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cgarvis/subscriptions","organizations_url":"https://api.github.com/users/cgarvis/orgs","repos_url":"https://api.github.com/users/cgarvis/repos","events_url":"https://api.github.com/users/cgarvis/events{/privacy}","received_events_url":"https://api.github.com/users/cgarvis/received_events","type":"User","site_admin":false},"created_at":"2015-06-24T14:23:58Z","updated_at":"2015-06-24T14:23:58Z","body":"You can use the provider `toggleSwitchConfig`.\r\n\r\n```js\r\nmyApp.config(['toggleSwitchConfigProvider'], function(toggleSwitchConfigProvider) {\r\n  toggleSwitchConfigProvider.onLabel = 'Yes';\r\n  toggleSwitchConfigProvider.offLabel = 'No';\r\n});\r\n```"}}