domfarolino / angular2-login-seed

(deprecated) Seed app w/ Angular2, Node, Express, and OAuth login
https://domfarolino.com/angular2-login-seed
MIT License
181 stars 77 forks source link

Set API endpoint as a provide for services #9

Closed caalvinz closed 7 years ago

caalvinz commented 7 years ago

This is another way to share the API endpoint to all services like constant.

domfarolino commented 7 years ago

Nice! Could you make inject change to the heroes service as well? Then I think we can merge this in

domfarolino commented 7 years ago

Closes https://github.com/domfarolino/angular2-login-seed/issues/7

caalvinz commented 7 years ago

Yeah, you're right. I missed it. It's coming.