0
0
JRJose Romero
This code subscribes to the "property" event on the "service" object and sets the "this.property" property to the received argument.
Library: angular
Shortcut: angular.subscribe
this.service.function.subscribe(arg => this.property = arg);