{"action":"created","issue":{"url":"https://api.github.com/repos/Urigo/angular2-meteor/issues/298","repository_url":"https://api.github.com/repos/Urigo/angular2-meteor","labels_url":"https://api.github.com/repos/Urigo/angular2-meteor/issues/298/labels{/name}","comments_url":"https://api.github.com/repos/Urigo/angular2-meteor/issues/298/comments","events_url":"https://api.github.com/repos/Urigo/angular2-meteor/issues/298/events","html_url":"https://github.com/Urigo/angular2-meteor/issues/298","id":160574570,"number":298,"title":"Angular2 Meteor Bind Data from calling this.call","user":{"login":"Sieryuu","id":4598489,"avatar_url":"https://avatars.githubusercontent.com/u/4598489?v=3","gravatar_id":"","url":"https://api.github.com/users/Sieryuu","html_url":"https://github.com/Sieryuu","followers_url":"https://api.github.com/users/Sieryuu/followers","following_url":"https://api.github.com/users/Sieryuu/following{/other_user}","gists_url":"https://api.github.com/users/Sieryuu/gists{/gist_id}","starred_url":"https://api.github.com/users/Sieryuu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Sieryuu/subscriptions","organizations_url":"https://api.github.com/users/Sieryuu/orgs","repos_url":"https://api.github.com/users/Sieryuu/repos","events_url":"https://api.github.com/users/Sieryuu/events{/privacy}","received_events_url":"https://api.github.com/users/Sieryuu/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-06-16T04:20:17Z","updated_at":"2016-06-16T10:22:39Z","closed_at":"2016-06-16T10:22:39Z","body":"Methods\r\n\r\n```\r\nMeteor.methods({\r\n    'test' : function(test: string) {\r\n        return test;\r\n    }\r\n})\r\n```\r\n\r\nComponent\r\n\r\nMy Class extends MeteorComponent\r\n\r\n```\r\nshow: string;\r\nconstructor() {\r\n     this.call('test', 'txt', (err, res) => {\r\n          this.show = res\r\n     });\r\n}\r\n```\r\n\r\nview\r\n\r\n`<span>{{show}}</span>`\r\n\r\nit shows nothing, as I expect it will show 'txt'."},"comment":{"url":"https://api.github.com/repos/Urigo/angular2-meteor/issues/comments/226446516","html_url":"https://github.com/Urigo/angular2-meteor/issues/298#issuecomment-226446516","issue_url":"https://api.github.com/repos/Urigo/angular2-meteor/issues/298","id":226446516,"user":{"login":"barbatus","id":2824096,"avatar_url":"https://avatars.githubusercontent.com/u/2824096?v=3","gravatar_id":"","url":"https://api.github.com/users/barbatus","html_url":"https://github.com/barbatus","followers_url":"https://api.github.com/users/barbatus/followers","following_url":"https://api.github.com/users/barbatus/following{/other_user}","gists_url":"https://api.github.com/users/barbatus/gists{/gist_id}","starred_url":"https://api.github.com/users/barbatus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/barbatus/subscriptions","organizations_url":"https://api.github.com/users/barbatus/orgs","repos_url":"https://api.github.com/users/barbatus/repos","events_url":"https://api.github.com/users/barbatus/events{/privacy}","received_events_url":"https://api.github.com/users/barbatus/received_events","type":"User","site_admin":false},"created_at":"2016-06-16T10:22:39Z","updated_at":"2016-06-16T10:22:39Z","body":"Run that callback in the ngZone, or add additional `true` param:\r\n```\r\nthis.call('test', 'txt', (err, res) => {\r\n   this.show = res\r\n}, true)\r\n```"}}
{"actor":{"display_login":"barbatus"}}