I'm doing angular tutorial at angular.io, where I read:
constructor(**public** messageService: MessageService) {}The
messageServiceproperty must bepublicbecause you're about to bind to it in the template.Angular only binds to
publiccomponent properties.
I emphasize public there.
However, if I change public to private there, everything works as before...
So please guide me to place where I can dispel my doubts.
My Angular version: 5.0.0,
Thank you!