The deps trick in Angular's IoC will fill in the variables at the service's constructor.
So IpService as suggested in the second blob of code here would have a constructor with two variables, first for a Yin and second for a Yang. I confirmed as much at this. Hand services to services in this manner.
No comments:
Post a Comment