***IMPORTANT*** AngularJS Interview Questions.

+3 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: https://bit.ly/2nV7Tcs

Aug 21, 2018 in Career Counselling by Omkar
• 66,880 points
381 views

8 answers to this question.

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
+1 vote

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. 

answered Aug 22, 2018 by Shrinivas

reshown Sep 11, 2018 by Sudhir
+1 vote

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!
+1 vote
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
0 votes

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
ng-bind

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.

Syntax

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

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.

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

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

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

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.

Syntax

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

ng-model

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).

Syntax

<input ng-bind="expression"/>
0 votes
Can you explain some filters in AngularJS, please?
answered Aug 22, 2018 by Bharat
Filters:
currency
date
filter
json
limitTo
lowercase
number
orderBy
uppercase
Currency It will change all the digits to currency and "$" is the default currency.

{{ x | currency}}

Output
Output

Date

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.

Output

Filter

{{ filter_expression | filter : expression : comparator}}

limitTo

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

{{ names | limitTo:2 }}

Output

Output

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

lowercase

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

{{ x | lowercase }}

Output

Output

Number

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.

Output

OrderBy

{{ orderBy_expression | orderBy : expression : reverse}}

uppercase

It will change all the letters to uppercase.

{{ x | uppercase }}

Output

Output

Source: https://www.c-sharpcorner.com/article/top-50-angularjs-interview-questions-and-answers/
+1 vote

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

answered Dec 17, 2018 by Vijay
• 160 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.
0 votes

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 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.

+1 vote

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. 

https://goo.gl/kbW32J

answered Mar 17 by Sharad
• 160 points
Thanks! This seems useful :)

Related Questions In Career Counselling

+10 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
• 14,980 points
413 views
+2 votes
3 answers

IMPORTANT tableau interview questions

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

answered Feb 19 in Career Counselling by Nishant
180 views
+3 votes
3 answers

IMPORTANT selenium interview questions

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

answered May 31 in Career Counselling by Pooja
198 views
0 votes
3 answers

ReactJS vs Angular Comparison: Which is better?

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

answered Aug 10, 2018 in Events & Trending Topics by slayer
• 29,040 points
66 views
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
• 27,620 points
44 views
+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,670 points
3,218 views
0 votes
1 answer
+11 votes
7 answers

“IMPORTANT” interview questions for DevOps

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

answered Jan 17 in Career Counselling by Edureka
• 4,180 points
661 views
+3 votes
4 answers

© 2018 Brain4ce Education Solutions Pvt. Ltd. All rights Reserved.
"PMP®","PMI®", "PMI-ACP®" and "PMBOK®" are registered marks of the Project Management Institute, Inc. MongoDB®, Mongo and the leaf logo are the registered trademarks of MongoDB, Inc.