{"comment":{"url":"https://api.github.com/repos/angular/material/comments/14877365","html_url":"https://github.com/angular/material/commit/cf7f21aa6c633d9f0bd22013e9a79f99b82b16af#commitcomment-14877365","id":14877365,"user":{"login":"kuhnroyal","id":1260818,"avatar_url":"https://avatars.githubusercontent.com/u/1260818?v=3","gravatar_id":"","url":"https://api.github.com/users/kuhnroyal","html_url":"https://github.com/kuhnroyal","followers_url":"https://api.github.com/users/kuhnroyal/followers","following_url":"https://api.github.com/users/kuhnroyal/following{/other_user}","gists_url":"https://api.github.com/users/kuhnroyal/gists{/gist_id}","starred_url":"https://api.github.com/users/kuhnroyal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kuhnroyal/subscriptions","organizations_url":"https://api.github.com/users/kuhnroyal/orgs","repos_url":"https://api.github.com/users/kuhnroyal/repos","events_url":"https://api.github.com/users/kuhnroyal/events{/privacy}","received_events_url":"https://api.github.com/users/kuhnroyal/received_events","type":"User","site_admin":false},"position":null,"line":null,"path":"","commit_id":"cf7f21aa6c633d9f0bd22013e9a79f99b82b16af","created_at":"2015-12-09T16:07:54Z","updated_at":"2015-12-09T16:07:54Z","body":"@topherfangio If there is an input-container with an active ngMessage and it is hidden and shown again with `ng-if`, the ngMessage is not visible but the ngModel is still invalid. It should show the ngMessage as it was before being hidden.\r\n\r\nhttp://codepen.io/anon/pen/XXbXPV\r\nToggle show errors and then toggle the hidden switch. "}}