In my project there are many "base" component classes. Furthermore, the project is to be divided into several other modules, in which I simply wanted ...
In my project there are many "base" component classes. Furthermore, the project is to be divided into several other modules, in which I simply wanted ...
I need to have different module for dev mode and prod mode so I think to use the angular.json option of fileReplacements creating a test.module.ts and ...
I am trying to use APP_INITIALIZER to do initial call for env values but for some reason service that have this function is undefined during runInitia ...
I have to use the alert component into different modules A and B in Angular. Even if the implementation is the same for both modules, the tag is recog ...
My application starts on a login page which has a button to a create-account page. If I am on the create-account page and I refresh my browser, it go ...
I have recently updated the angular project version from 11 to 13, after up-gradation its giving one error "error NG6002: Appears in the NgModule.impo ...
I have a functional application built with the Angular CLI v-13.2.6 and I just want to add the great features of angular material forms and icons. I a ...
I have a project which uses angular libraries. So for the development of the library, I am using the build command with the watch option, so when I ma ...
. Answers to this question are eligible for a +50 reputation bounty. Ta ...
I am currently trying to create a Login Page using Angular 12, and following up, I cannot import the ModuleWithProviders from @angular/core/src/metada ...
I have imported FormsModule in the module.ts but still compilation is failing with error - can't bind to 'ngModel' since it isn't a known property of ...
When building our project we get an error: We know this error is due to having our MainComponent declared in the app.module.ts, and then calling th ...
im starting to work with Angular, and im trying to create a simple route guard, to redirect user to login page, if my service return unauthorized. To ...
Im trying to create a Guard service to authenticate my routes. But my guard service are located in a shared library. This is my guard service: Pro ...
im trying to use a Router Guard from shared lib into app routing module (at app level). i created this RouterGuard (route.guard.ts): On shared lib ...
i have 2 libs. 1 - ui-templates 2 - ui-components To import ui-templates from app, im doing that: And everything works fine. But now, i want to ...
I'm designing an Angular application which has admin and basic user view of every major feature. Let's say I have two features - Users and Products, ...
Lets say i have 2 fat arrow methods defined in the providers array of @NgModule. They are called capitalize and capitalizeCallingMethod. Is it poss ...
I just started using the feature module + lazily loaded routing part of angular framework, and have a bit of trouble getting used to the nuances. One ...
Anguler: 11.2.5 typescript: 4.0.2 angular-svg-icon: 11.2.0 Component html: lazy-loaded module call: app.module.ts ...