I am importing a reusable library in my app.module.ts file. The library has an interface for options like, api url, custom providers etc. The problem is that the component in the library is initializing regardless and my custom providers will then execute and i have no control. The library is working in a new app, there i can declare the component from the library in my component template, but not in my existing app.
Angular external library is always initializing
14 Views Asked by Anders At
0
There are 0 best solutions below
Related Questions in ANGULAR-LIBRARY
- Angular 4 export enum type from library/dependency
- Angular 2: Load different versions of the libraries based on the data
- Cannot declare 'MatRadioModule' when trying to compile angular library with angular material
- Angular schematics for library: building schematics gives error in angular 10
- Custom angular library component displays error 'not a known element'
- How to use a third-party library within an angular library
- Angular - How to import a module from a JS bundle
- How to use external html and styles in angular libraries with storybook
- error TS2694: Namespace r3_symbols has no exported member 'ɵɵFactoryDef'
- Cannot access 'MyComponent' before initialization in Angular 10
- Import SCSS variables file in Angular library modules
- Canot find module used in custom angular library
- ERROR in Cannot resolve type entity i9.NgxFileDropModule to symbol
- Read Json file inside Angular custom library
- Using angular library in Stencil component
Related Questions in ANGULAR13
- How can i apply code before an element is erased by an *ngIf in Angular 13?
- <input autocomplete="off" this is not working i am using in angular 13. still is showing lastPass.. in my input filed
- angular13: how to manually add scss files by condition to index.html?
- Error: Module build failed | Angular13: ck-editor postcss-loader error
- reduce same function call inside ngFor loop
- Sticky footer doesn't work on angular application using a flex layout technique
- How to remove multiple object from an array in angular 13
- How to get multiple selected row index in the table in angular 13
- How to get selected row index by checkbox in angular 13
- What is best way to go about replacing 'deployUrl' in angular.json for v13?
- How to I log in to a confidential keycloak server from Angular 13?
- Should .angular cache folder add to .dockerignore?
- Alignment in Expansion Panel of Angular Material
- ngx-source-obfuscation with Angular 13
- Angular: Setting a date field by dropdown menu's selection
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?