Ask a Question
Ask Question Login
Corporate Training
  1. Community
  2. Python

Python Questions & Answers

Browse 802 Python questions and answers from learners and industry experts. Find practical fixes, interview prep and step-by-step solutions - or ask your own.

802Discussions
914Answers
1Waiting for an answer
Ask a Python Question →
Browse by topic: Angular HTML Module

How can we use the same instance of the service in Angular?

We can create the service with a singleton pattern. So, if you are creating the instance of the service without making it singleton then every time…

Python · HTML

1 Answer · 1.8K Views · Answered ✓

Asked by: John Ingerson · 6 years ago

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…

Python · Angular

1 Answer · 1.7K Views · Answered ✓

Asked by: Sally Langdon · 6 years ago

What is @Attribute decorator in Angular?

The @Attribute() decorator is a special feature used only by the AOT compiler. When the template is compiled into TypeScript the factory function for…

Python · Angular

1 Answer · 1.8K Views · Answered ✓

Asked by: Rose Knox · 6 years ago

What is ComponentFactoryResolver used for?

A class that is used to create dynamic components - it produces a ComponentFactory for a particular component which can then be loaded into view via…

Python · Module

1 Answer · 1.2K Views · Answered ✓

Asked by: Rebecca King · 6 years ago

How can we define typings for custom elements?

We can use the NgElement and WithProperties types exported from @angular/elements. Let's see how it can be applied by comparing with Angular…

Python · Module

1 Answer · 857 Views · Answered ✓

Asked by: Pippa Kelly · 6 years ago

Explain dynamic components with example.

Dynamic components were the components in which components position in the app is not defined at build time. i.e, they were not utilized in any…

Python · Module

1 Answer · 1.0K Views · Answered ✓

Asked by: Penelope Jones · 6 years ago

Explain working of custom elements.

The flow chart of the custom elements functionality would be as follows:Above are the steps in an order about custom elements functionality, App…

Python · Module

1 Answer · 1.1K Views · Answered ✓

Asked by: Amit raj · 6 years ago

How to load angular components by router state change?

In Angular all components are packed in one file and loading all at once so main.bundle.js gets bigger with any new component so we can load needed…

Python · Module

1 Answer · 1.3K Views · Answered ✓

Asked by: Rahul verma · 6 years ago

Learn & Explore

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

Latest Python Blogs

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

Explore other technologies

Pick another topic to find answers, interview questions, and real-world tips.