Ask a Question
Ask Question Login
Corporate Training
  1. Community
  2. Sally Langdon

Sally Langdon

Community Learner
Active in: Python
Share
1Questions
1Answers
1.7KViews on questions

What is the use of inject decorator inside constructor?

It means that angular will handle automatically and internally the instance creation for the factoryResolver. In latest versions of angular we don't need to specify the @Inject in the constructor, nor the assign to this.factoryResolver: constructor (private factoryResover: ComponentFactoryResolver) {}

Python

Answered Jan 23, 2020 · 1.7K Views Read answer →

More members from the Python community

Learners asking and answering questions on the same topics — follow their questions and join in.

Latest Python Blogs

Guides, tips and career advice on Python from JanBask experts.

Learn & Explore

Free tutorials and interview questions from industry experts — learn the skill, then get ready to prove it.