In this tutorial, I have explained all the ways to read attribute value for your component or directive in #Angular
How to get an attribute value in Angular's components and directives - Angular Tutorials | indepth.dev
How to get an attribute value in Angular's components and directives - Angular Tutorials | indepth.dev