IMPORTANT AngularJS Interview Questions

+4 votes

AngularJS has seen exponential growth in popularity and career opportunities in the recent years. Let's use this thread to share your knowledge, experience or ask any questions regarding AngularJS interview. If you don't know where to start, you can start with this link:

Aug 22, 2018 in Career Counselling by Omkar
• 69,150 points

9 answers to this question.

+2 votes

IT technicians have started realizing that user experience matters the most when it comes to selling a product. So yes, AngularJS has a lot of opportunities. 

Hope it helps!!

Want to know more about Angular? Get your Angular Certification today and become certified.
Thank you!!

answered Aug 22, 2018 by Shrinivas

reshown Sep 11, 2018 by Sudhir
+2 votes

Hello, I have attended a few interviews and one question asked in almost every interview is:

What is the main thing that you would need to change if you were migrating from AngularJS 1.4 to AngularJS 1.5? 

And the answer is:

To adapt to the new AngularJS 1.5 components, you would need to change .directive to .component

answered Aug 22, 2018 by Satish
Hey Satish, thank you for sharing your experience. Appreciate it!
+2 votes
Hi Sir, can you tel which are the different types of directives in AngularJS? This question was asked in my previous interview
answered Aug 22, 2018 by Vishal
There are four types of directives:

-> Comment directives
-> CSS class directives
-> Attribute directives
-> Element directives
+1 vote

Hello guys. I have started to learn Angular recently. Can anybody explain the uses for the directives:

  • ngBind,
  • ngModel
  • ngClass
  • ngApp
  • ngInit
  • ngRepeat
Thanks in Advance
answered Aug 22, 2018 by Kishore

This directive updates the text content of the specified HTML element with the value of the given expression and the text content is changing on expression changes. It is very similar to double curly markup ( {{expression }}) but less verbose.


<ANY ELEMENT ng-bind="expression"> </ANY ELEMENT>   

It (whatever it is) evaluates the expression and inserts the HTML content into the element in a secure way. It uses the $sanitize service, so to use this functionality, be sure that $sanitize is available.

<ANY ELEMENT ng-bind-html=" expression "> </ANY ELEMENT>   

It (whatever it is) replaces the element text content with the interpolation of the template. It can contain multiple double curly markups.

<ANY ELEMENT ng-bind-template=" {{expression1}} {{expression2}} … {{expressionn}} "> </ANY ELEMENT>   

This (whatever "this" is) directive informs AngularJs to not compile or bind the contents of the current DOM element This element is useful when we want to display the expression but it should not be executed by AngularJs.


<ANY ELEMENT ng-non-bindable > </ANY ELEMENT>


This (whatever "this" is) directive can be bound with input, select, text area or any custom form control. It provides two-way binding. It also provides validation behavior. It also keeps the state of the control (valid/invalid, dirty/pristine, touched/untouched and so on).


<input ng-bind="expression"/>
+1 vote
Can you explain some filters in AngularJS, please?
answered Aug 22, 2018 by Bharat
Currency It will change all the digits to currency and "$" is the default currency.

{{ x | currency}}



It will change all the digits into the date according to some rules, like the default date will be "44 years 2 months 10 days" earliar and 1000 will add 1 second into it.

{{ x | date:'medium' }}

Output Change the 1 and 1000 into dates.



{{ filter_expression | filter : expression : comparator}}


It will show the values depending on the limit of an array variable that has been set.

{{ names | limitTo:2 }}



Here the limit is 2, so you can only see 2 values.


It will change all the letters into lowercase as in the following:

{{ x | lowercase }}




It will show all the digits with 3 decimal places by default as in the following:

{{ x | number:8}}

Output I am using 8 here.



{{ orderBy_expression | orderBy : expression : reverse}}


It will change all the letters to uppercase.

{{ x | uppercase }}



+2 votes

You can just go through with this post to get more question for preparing for angular technology.

answered Dec 17, 2018 by Vijay
• 180 points
Thanks for the post Vijay. I'm sure it'll be helpful to a lot of our members.
@Vijay, the content is good but its limited. The number of questions can be more in numbers.

Thank you @Omkar for the blog it is good way to start the last minute preparations.
+1 vote

Hey @Omkar, I was asked if Angular use the jQuery library? I think it does but I'm not sure, can you please help me out here? 

answered Feb 19, 2019 by Lisa

Hey @Lisa, thanks for approaching us. 

Yes, Angular can use jQuery if it’s present in the app when the application is being bootstrapped. If jQuery is not present in the script path, Angular falls back to its own implementation of the subset of jQuery that we call jQLite.

+2 votes

Yes, I agree with Omkar AngularJs is covering the web market very fastly. A lot of companies are recruiting on AngularJs. In the last two years, the Angular community has released more than 6 versions of Angular which creates confusion which to learn.  So while preparing Interviews on angular take a look to questions asked from this link.

answered Mar 17, 2019 by Sharad
• 180 points
Thanks! This seems useful :)
+1 vote

Are you Preparing for Angularjs interview question here list of most asked Top 20 Angularjs interview questions and answers

answered Jun 25, 2019 by Daniel Rosen

Related Questions In Career Counselling

+11 votes
6 answers
+2 votes
3 answers

**Important** Apache Spark Interview Questions (Bank)

Hi Priyaj I have this one question What is ...READ MORE

answered Aug 22, 2018 in Career Counselling by bug_seeker
• 15,550 points
+2 votes
3 answers

IMPORTANT tableau interview questions

Hey @Kalgi, this was one of the ...READ MORE

answered Feb 19, 2019 in Career Counselling by Nishant
+3 votes
3 answers

IMPORTANT selenium interview questions

Some of the interview questions for Selenium ...READ MORE

answered May 31, 2019 in Career Counselling by Pooja
0 votes
3 answers

ReactJS vs Angular Comparison: Which is better?

One picture, many facts How can you compare ...READ MORE

answered Aug 11, 2018 in Events & Trending Topics by slayer
• 29,310 points
0 votes
1 answer

Angular 4: not able to iterate over an array

Replace this : <div *ngFor="let price of prices"> ...READ MORE

answered Sep 3, 2018 in Blockchain by digger
• 26,720 points
0 votes
1 answer

What is the best way to allow plugins for a PHP application?

Hello @kartik, I've used, it's an attempt to ...READ MORE

answered Apr 15, 2020 in PHP by Niroj
• 82,880 points
+1 vote
8 answers

How can I implement process.env in Angular 5 environment?

Users do not have access to process.env ...READ MORE

answered Apr 3, 2018 in DevOps & Agile by DareDev
• 6,890 points
+11 votes
7 answers

“IMPORTANT” interview questions for DevOps

Hello everyone here is an updated blog ...READ MORE

answered Jan 17, 2019 in Career Counselling by Edureka
• 4,220 points
+3 votes
4 answers