{"action":"created","issue":{"url":"https://api.github.com/repos/driftyco/ionic/issues/6828","repository_url":"https://api.github.com/repos/driftyco/ionic","labels_url":"https://api.github.com/repos/driftyco/ionic/issues/6828/labels{/name}","comments_url":"https://api.github.com/repos/driftyco/ionic/issues/6828/comments","events_url":"https://api.github.com/repos/driftyco/ionic/issues/6828/events","html_url":"https://github.com/driftyco/ionic/issues/6828","id":159437563,"number":6828,"title":"bug: Ion-tab icon not rendered after being changed","user":{"login":"leiyuangui","id":11426559,"avatar_url":"https://avatars.githubusercontent.com/u/11426559?v=3","gravatar_id":"","url":"https://api.github.com/users/leiyuangui","html_url":"https://github.com/leiyuangui","followers_url":"https://api.github.com/users/leiyuangui/followers","following_url":"https://api.github.com/users/leiyuangui/following{/other_user}","gists_url":"https://api.github.com/users/leiyuangui/gists{/gist_id}","starred_url":"https://api.github.com/users/leiyuangui/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/leiyuangui/subscriptions","organizations_url":"https://api.github.com/users/leiyuangui/orgs","repos_url":"https://api.github.com/users/leiyuangui/repos","events_url":"https://api.github.com/users/leiyuangui/events{/privacy}","received_events_url":"https://api.github.com/users/leiyuangui/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/driftyco/ionic/labels/platform:ios","name":"platform:ios","color":"0052cc"},{"url":"https://api.github.com/repos/driftyco/ionic/labels/v1","name":"v1","color":"888888"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-06-09T15:29:43Z","updated_at":"2016-06-09T15:31:42Z","closed_at":null,"body":"**Type**: <span ionic-type>bug</span>\n\n**Ionic Version**: <span ionic-version>1.x</span>\n\n**Platform**: <span ionic-platform>ios</span> <span ionic-platform-version>9</span>  <span ionic-webview>webview</span>\n\n<span ionic-description>We want to change the icon dynamically according to the content type. We are changing the icon name dynamically within the ion-tab element. The name has changed successfully,  but the rendered icon has not. A close investigation shows that the generated element <i> keeps the old icon class. It is never being removed.  \n\nPlease can someone point me to the possible workaround?</span>\n\n<span is-issue-template></span>\n"},"comment":{"url":"https://api.github.com/repos/driftyco/ionic/issues/comments/224932904","html_url":"https://github.com/driftyco/ionic/issues/6828#issuecomment-224932904","issue_url":"https://api.github.com/repos/driftyco/ionic/issues/6828","id":224932904,"user":{"login":"jgw96","id":8823093,"avatar_url":"https://avatars.githubusercontent.com/u/8823093?v=3","gravatar_id":"","url":"https://api.github.com/users/jgw96","html_url":"https://github.com/jgw96","followers_url":"https://api.github.com/users/jgw96/followers","following_url":"https://api.github.com/users/jgw96/following{/other_user}","gists_url":"https://api.github.com/users/jgw96/gists{/gist_id}","starred_url":"https://api.github.com/users/jgw96/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jgw96/subscriptions","organizations_url":"https://api.github.com/users/jgw96/orgs","repos_url":"https://api.github.com/users/jgw96/repos","events_url":"https://api.github.com/users/jgw96/events{/privacy}","received_events_url":"https://api.github.com/users/jgw96/received_events","type":"User","site_admin":false},"created_at":"2016-06-09T15:31:42Z","updated_at":"2016-06-09T15:31:42Z","body":"Hello, thanks for opening an issue with us! Would you be able to provider a plunker that demonstrates this issue? Thanks for using Ionic!"}}
{"actor":{"display_login":"jgw96"}}