Gerome Grignon @gerome.dev · Jul 5

In another universe, the default Angular prefix has always been `ng`, and it would make more sense than `app`, especially for directives! You can still customize it with your angular.json file.

2 likes 1 replies

?

Replies

Denis Souron · Jul 5

Mandatory if you are building a lib. Users of the lib should clearly identify when they are using internal directives/components VS external ones. Also you may have multiple Angular apps in your company. A different prefix could be a way to distinguish them. Ex: Google Fronts uses `gf` prefix 🤓