I’m new to both Meteor and Angular but am evaluating both with a view to porting an existing application. I’ve followed with interest the excellent Angular 2 tutorial.
A big attraction for me of Angular 2 is its emphasis on dependency injection using services, nice encapsulated components etc. Meteor OTOH seems to offer a very good publish/subscribe infrastructure along with all the advatages of node.js.
However the use of MeteorComponent in the tutorial seems to work against Angular 2’s dependency injection approach, seemingly closely coupling each component with the details of Meteor’s publish/subscribe mechanism.
I’d like to see an implementation (or maybe try to implement one myself) of a Meteor/Angular2 hybrid which uses an injected angular service to separate the details of the Publish/Subscribe layer from the component implementation.
Does anyone have any examples of such an approach or arguments/suggestions for or against trying it?