Post

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.

0 reposts2 likes

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 🤓

I agree that app often feels „off“, but as said ng and ngx is IMHO reserved to internal and third party libs. I often normally use an acronym of the app name as prefix