Skip to content
Related Articles
Get the best out of our app
GFG App
Open App
geeksforgeeks
Browser
Continue

Related Articles

Aptitude | AngularJS Quiz | Set-2 | Question 11

Improve Article
Save Article
Like Article
Improve Article
Save Article
Like Article

Which of the following type of components in AngularJs is used to create a custom directive ?

(A)

Element directives

(B)

Attribute

(C)

CSS

(D)

All of the above.


Answer: (D)

Explanation:

A custom directive is used to enhance the functionality of HTML. So the type of custom directives is Element directive, Attribute, and CSS. All of these are used for creating the custom directive.


Quiz of this Question
Please comment below if you find anything wrong in the above post

My Personal Notes arrow_drop_up
Last Updated : 20 Sep, 2021
Like Article
Save Article
Similar Reads