{"action":"created","issue":{"url":"https://api.github.com/repos/angular/angular/issues/5050","labels_url":"https://api.github.com/repos/angular/angular/issues/5050/labels{/name}","comments_url":"https://api.github.com/repos/angular/angular/issues/5050/comments","events_url":"https://api.github.com/repos/angular/angular/issues/5050/events","html_url":"https://github.com/angular/angular/issues/5050","id":114486882,"number":5050,"title":"tell angular to update a component view after updating an array","user":{"login":"rolandjitsu","id":1479737,"avatar_url":"https://avatars.githubusercontent.com/u/1479737?v=3","gravatar_id":"","url":"https://api.github.com/users/rolandjitsu","html_url":"https://github.com/rolandjitsu","followers_url":"https://api.github.com/users/rolandjitsu/followers","following_url":"https://api.github.com/users/rolandjitsu/following{/other_user}","gists_url":"https://api.github.com/users/rolandjitsu/gists{/gist_id}","starred_url":"https://api.github.com/users/rolandjitsu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rolandjitsu/subscriptions","organizations_url":"https://api.github.com/users/rolandjitsu/orgs","repos_url":"https://api.github.com/users/rolandjitsu/repos","events_url":"https://api.github.com/users/rolandjitsu/events{/privacy}","received_events_url":"https://api.github.com/users/rolandjitsu/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2015-11-01T19:23:26Z","updated_at":"2015-12-03T20:43:23Z","closed_at":null,"body":"I am using Firebase as a realtime backend for a sample app and I seem to keep hitting some walls when it comes to view updates after I change the shape of an array.\r\n\r\nFor example this [plunk](http://plnkr.co/edit/EdjrRQI9EefiVRRIdPrQ?p=preview) illustrates what I am talking about. I am using `setTimeout` to mimic latency and a few delays that I have in my app (a few dependencies are async and I have to wait for them before I create the array), but basically what happens is that the view does not pickup on the changes I made to the array if it already rendered it and I made some changes at a later point.\r\n\r\nMaybe I can make the `Chores` class depend on `NgZone` or something that I could use to let Angular know that there has been some updates and that it should run the checks through the views?"},"comment":{"url":"https://api.github.com/repos/angular/angular/issues/comments/161779080","html_url":"https://github.com/angular/angular/issues/5050#issuecomment-161779080","issue_url":"https://api.github.com/repos/angular/angular/issues/5050","id":161779080,"user":{"login":"rolandjitsu","id":1479737,"avatar_url":"https://avatars.githubusercontent.com/u/1479737?v=3","gravatar_id":"","url":"https://api.github.com/users/rolandjitsu","html_url":"https://github.com/rolandjitsu","followers_url":"https://api.github.com/users/rolandjitsu/followers","following_url":"https://api.github.com/users/rolandjitsu/following{/other_user}","gists_url":"https://api.github.com/users/rolandjitsu/gists{/gist_id}","starred_url":"https://api.github.com/users/rolandjitsu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rolandjitsu/subscriptions","organizations_url":"https://api.github.com/users/rolandjitsu/orgs","repos_url":"https://api.github.com/users/rolandjitsu/repos","events_url":"https://api.github.com/users/rolandjitsu/events{/privacy}","received_events_url":"https://api.github.com/users/rolandjitsu/received_events","type":"User","site_admin":false},"created_at":"2015-12-03T20:43:23Z","updated_at":"2015-12-03T20:43:23Z","body":"@rosendi you should probably take a look at Rx and perhaps use Observable for implementing async pipes.\r\n\r\nI was actually thinking of using pipes for something like I described and I actually have a plunk that has a fairly reasonable implementation of a RxPipe that could be adapted to use Firebase queries. But I've been told that there will be a RxPipe implemented in angular2 so I am waiting for that."}}