sudheerj / angular-interview-questions Goto Github PK
View Code? Open in Web Editor NEWList of 300 Angular Interview Questions and answers
List of 300 Angular Interview Questions and answers
Grammatical mistakes in question 34.
Please add the below question & answers.
What are the Route Parameters? Explain each of them.
Required, Optional & Query parameter
Hi.
Is this a work in progress? Because it say 300 questions but I only see 107.
I want to say thank you because it's a really good document.
Thanks!
You have done a good work on the angular interview question thing but it has been expired.
Lazy loading is one of the most useful concepts of Angular Routing.
It helps us to download the
web pages (no, it should be the frontend javascript bundles
generated by angular)
in chunks instead of downloading everything in a big bundle.
so many incorrect answers.
these questions really helped me, is there any chance to give a chinese version a shot? I would love to contribute : )
The repo description says 300 questions but I only see 141
Hi Sandeep
I am the Admin of Software Engineers (.Net) group on whatsapp.
I read this and found you did a great effort.
Thanks for sharing the links, its good useful.
Thanks
Avinash Joshi
Hi there,
you mention 3 parts of the ngModule, but there are two more and one of them is "essential":
-the providers array, where you have to register your services
-entryComponents, the components which can be dynamically loaded to the view.
could you please update your answer?
Cheers,
Gary
When executing the code from the question 19 example, the following error is thrown:
I've created a PR with a fix for this issue,
@sudheerj Please review
All the best
.
it is preferred to move all of your Angular bindings to ngOnInit method
is wrong, constructor
has its own job as well as ngOnInit
.Constructor is the default method for a class that is created when a class is installed and ensures the proper execution of the roles in the class and its subsections. Angular is preferably the Dependency Injector (DI), analyzes the builder’s components and when creating a new feature by calling the new MyClass() tries to find suppliers that match the builder’s parameter types, resolve them and pass them to similar components.
ngOnInit: OnInit is a life cycle widget called Angular to show that Angular is made to create a component.
Differences:
We use constructor() for all the initialization/declaration.
It’s better to avoid writing actual work in the constructor.
The constructor() should only be used to initialize class members but shouldn’t do actual “work”.
So we should use constructor() to set up Dependency Injection, Initialization of class fields, etc.
ngOnInit() is a better place to write “actual work code” that we need to execute as soon as the class is instantiated.
Like loading data from Database — to show the user in your HTML template view. Such code should be written in ngOnInit().
Point 18: How is Dependency Hierarchy formed?
There is no description.
Please add question & answer about ng-content.
If you remove the table styling, you can have auto incremented numbers. However, the code examples would require extra indents to not reset the count. See Stack Overflow.
I mention this because such a change makes it easier to add and remove content.
Answer for question 18 is missing.
Courses and Students
Create a Webpage using HTML, CSS and Angular/ ReactJs
Create a web page to manage courses and students
Follow the instructions carefully.
Follow the design (color, font, size etc) as per the above wireframe but functionality is important than the look & feel
Course section
The course dropdown should display the course names. Initially it is empty
When you click on the “Add New course” button under state it should display a text box followed by a tick icon and cross icon
You can enter the course name in the text field.
When you click on the tick icon it should add the course name into the list of the courses in the drop-down list and the input text field & icons should be hidden.
When you click on the cross icon it should not get added to the list of courses and the input text field & icons should be hidden
Student section
The “Add new student” button under the student should be visible only when you select a course name in the dropdown
When you click on the “Add new student” button it should display a textbox followed by tick icon and cross icon
You can enter the student name in the text field
When you click on the tick button it should add the student name to the list of students in the dropdown list for the selected course and the text field & icons should be hidden
When you click on the cross button it should not add the student name to the list of students for the course and the text field & icons should be hidden
A list of students can be added to one course.
Once you select a course it should display its corresponding students only in the below dropdown
Coding standards
Follow standard naming convention for the html, css, javascript
how to download interview questions for angular as PDF.
I am not able to download saying output as expired.
Change question no 152 add new version changes like 11,12,13,14 and 15
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.