I am trying to update my view after a websocket event returns updated data.
I injected a service into my app and call getData() method on the service. This method em
A very simple way to do this is just run in zone whatever variable you want to update.
zone.run(()=>{
this.variable = this.variable;
});
Doesn't seem like it can be that easy, but just assigning it to itself will update it if run in zone. I don't know if this is still an issue in angular2 since I'm running a little bit older version.