Installation
npm install ngx-error-message --save
@ngx-translate is an optional dependency — only install it if you want translated error messages:
npm install @ngx-translate/core --save
npm install @ngx-translate/http-loader --save
See the ngx-translate GitHub repository for more information about that package.
Next, wire up the library for your app type:
- Standalone apps — recommended for Angular >= 14.
- NgModule apps — for apps still on the
NgModulebootstrap style.