|
|
|
|
|
by cybernet
3569 days ago
|
|
Op probably mean, that there is no Angular/ outside world barrier ( which often required using $apply function ). >In Angular 1 the only way to use them without resorting into angular-XYZ libraries is to put them in a directive and use the link function to write all the logic and DOM manipulation. What's different in Angular 2? Well, there is no $scope in Angular 2, so there is no need for link function ( which was used for linking scope and DOM) |
|