{"action":"created","issue":{"url":"https://api.github.com/repos/angular/angular/issues/8087","repository_url":"https://api.github.com/repos/angular/angular","labels_url":"https://api.github.com/repos/angular/angular/issues/8087/labels{/name}","comments_url":"https://api.github.com/repos/angular/angular/issues/8087/comments","events_url":"https://api.github.com/repos/angular/angular/issues/8087/events","html_url":"https://github.com/angular/angular/issues/8087","id":148610076,"number":8087,"title":"*ngIf and double curly bracket interpolation not playing well together?","user":{"login":"radoslavpetranov","id":2715732,"avatar_url":"https://avatars.githubusercontent.com/u/2715732?v=3","gravatar_id":"","url":"https://api.github.com/users/radoslavpetranov","html_url":"https://github.com/radoslavpetranov","followers_url":"https://api.github.com/users/radoslavpetranov/followers","following_url":"https://api.github.com/users/radoslavpetranov/following{/other_user}","gists_url":"https://api.github.com/users/radoslavpetranov/gists{/gist_id}","starred_url":"https://api.github.com/users/radoslavpetranov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/radoslavpetranov/subscriptions","organizations_url":"https://api.github.com/users/radoslavpetranov/orgs","repos_url":"https://api.github.com/users/radoslavpetranov/repos","events_url":"https://api.github.com/users/radoslavpetranov/events{/privacy}","received_events_url":"https://api.github.com/users/radoslavpetranov/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-04-15T09:36:23Z","updated_at":"2016-04-15T09:42:07Z","closed_at":null,"body":"Hello,\r\n\r\nI came across the following behavior and I'm not sure if it's a bug or not so I thought I'd run it by you guys.\r\n\r\nhttp://plnkr.co/edit/itNRpy5lc9PB837C7HdP?p=preview\r\n\r\nIn the plunker above you'll see 2 inputs. Each one has a local variable assigned to it and beneath them there's a basic interpolation string that should show the class fields for each of the inputs.\r\n\r\nFor some reason, the moment I add *ngIf to an input, the interpolation stops working (#myInput2). Could someone please clarify whether this is a bug or not and if not - could you guys pls point me to the relevant documentation? Really wanna understand what's at play here.\r\n\r\nThanks in advance!"},"comment":{"url":"https://api.github.com/repos/angular/angular/issues/comments/210388488","html_url":"https://github.com/angular/angular/issues/8087#issuecomment-210388488","issue_url":"https://api.github.com/repos/angular/angular/issues/8087","id":210388488,"user":{"login":"radoslavpetranov","id":2715732,"avatar_url":"https://avatars.githubusercontent.com/u/2715732?v=3","gravatar_id":"","url":"https://api.github.com/users/radoslavpetranov","html_url":"https://github.com/radoslavpetranov","followers_url":"https://api.github.com/users/radoslavpetranov/followers","following_url":"https://api.github.com/users/radoslavpetranov/following{/other_user}","gists_url":"https://api.github.com/users/radoslavpetranov/gists{/gist_id}","starred_url":"https://api.github.com/users/radoslavpetranov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/radoslavpetranov/subscriptions","organizations_url":"https://api.github.com/users/radoslavpetranov/orgs","repos_url":"https://api.github.com/users/radoslavpetranov/repos","events_url":"https://api.github.com/users/radoslavpetranov/events{/privacy}","received_events_url":"https://api.github.com/users/radoslavpetranov/received_events","type":"User","site_admin":false},"created_at":"2016-04-15T09:42:07Z","updated_at":"2016-04-15T09:42:07Z","body":"Right, so I would understand if _model was getting populated by a service and it was null during rendering. What I don't understand is why is the current behavior taking place when *ngIf=\"_model\" should return true (otherwise the input would not be visible at all, right?)"}}