{"action":"closed","issue":{"url":"https://api.github.com/repos/angular/material/issues/1496","labels_url":"https://api.github.com/repos/angular/material/issues/1496/labels{/name}","comments_url":"https://api.github.com/repos/angular/material/issues/1496/comments","events_url":"https://api.github.com/repos/angular/material/issues/1496/events","html_url":"https://github.com/angular/material/issues/1496","id":57560420,"number":1496,"title":"ng-if delayed for button hiding","user":{"login":"maddogawl","id":1392315,"avatar_url":"https://avatars.githubusercontent.com/u/1392315?v=3","gravatar_id":"","url":"https://api.github.com/users/maddogawl","html_url":"https://github.com/maddogawl","followers_url":"https://api.github.com/users/maddogawl/followers","following_url":"https://api.github.com/users/maddogawl/following{/other_user}","gists_url":"https://api.github.com/users/maddogawl/gists{/gist_id}","starred_url":"https://api.github.com/users/maddogawl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/maddogawl/subscriptions","organizations_url":"https://api.github.com/users/maddogawl/orgs","repos_url":"https://api.github.com/users/maddogawl/repos","events_url":"https://api.github.com/users/maddogawl/events{/privacy}","received_events_url":"https://api.github.com/users/maddogawl/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/angular/material/milestones/10","html_url":"https://github.com/angular/material/milestones/0.9.0","labels_url":"https://api.github.com/repos/angular/material/milestones/10/labels","id":863796,"number":10,"title":"0.9.0","description":"## Goals\r\n\r\nThis is  **polishing** milestone to address many of the existing bugs, validate layouts and browser/device compatibility, and improve performance.","creator":{"login":"ThomasBurleson","id":210413,"avatar_url":"https://avatars.githubusercontent.com/u/210413?v=3","gravatar_id":"","url":"https://api.github.com/users/ThomasBurleson","html_url":"https://github.com/ThomasBurleson","followers_url":"https://api.github.com/users/ThomasBurleson/followers","following_url":"https://api.github.com/users/ThomasBurleson/following{/other_user}","gists_url":"https://api.github.com/users/ThomasBurleson/gists{/gist_id}","starred_url":"https://api.github.com/users/ThomasBurleson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ThomasBurleson/subscriptions","organizations_url":"https://api.github.com/users/ThomasBurleson/orgs","repos_url":"https://api.github.com/users/ThomasBurleson/repos","events_url":"https://api.github.com/users/ThomasBurleson/events{/privacy}","received_events_url":"https://api.github.com/users/ThomasBurleson/received_events","type":"User","site_admin":false},"open_issues":54,"closed_issues":325,"state":"open","created_at":"2014-11-12T18:26:48Z","updated_at":"2015-04-14T14:49:17Z","due_on":"2015-04-13T05:00:00Z","closed_at":null},"comments":4,"created_at":"2015-02-13T05:13:26Z","updated_at":"2015-04-14T14:49:17Z","closed_at":"2015-04-14T14:49:17Z","body":"          <md-button ng-if=\"!player.editing\" class=\"md-raised md-primary\" data-ng-click=\"EditPlayer($index)\">Quick Edit</md-button>\r\n          <md-button ng-if=\"player.editing\" class=\"md-raised md-primary\" data-ng-click=\"SavePlayer($index)\">Save</md-button>\r\n\r\nI have those two lines, without using md-button it switches perfectly, but once I switch over there is a brief period where both buttons show.  This could be related to the css animation upon clicking since I switch that flag (player.editing) upon ng-click firing.  It seems to take about a second or so before it removes the one that should be invisible.\r\n\r\nMaybe there is a better way to do this, but I still feel like this is possibly a bug?"}}