I was thinking about how could be possible implement some members in a component that could be accessed from the template but not from a parent component.
I searched for some information about the typescript visibility in angular 2 but I only found topics about "public" and "private" declarations but not about"protected".
So, does it make sense to use "protected" for this?
the compiler warns me if i use in the html file a property which is declared private (although it works!). If i use protected, then no warns is emitted
some members in a component that could be accessed from the template but not from a parent component.
protected/private only make sense if you are doing component inheritance. This is now the thing you are discussing. Component composition doesn't impact your choice here.