Which of the following can be used as a prefix for Directive?*a) data-b) ng-c) All of the mentionedd) None of the mentioned

Question

Which of the following can be used as a prefix for Directive?*a) data-b) ng-c) All of the mentionedd) None of the mentioned
🧐 Not the exact question you are looking for?Go ask a question

Solution 1

The correct answer is c) All of the mentioned.

In AngularJS, both "data-" and "ng-" can be used as prefixes for directives.

Here's a step-by-step explanation:

  1. "data-" prefix: This is a HTML5 specification for custom attributes. When you use this prefix, your HTML will be valid and it will pa Knowee AI StudyGPT is a powerful AI-powered study tool designed to help you to solve study prob
Knowee AI StudyGPT is a powerful AI-powered study tool designed to help you to solve study problem.
Knowee AI StudyGPT is a powerful AI-powered study tool designed to help you to solve study problem.
Knowee AI StudyGPT is a powerful AI-powered study tool designed to help you to solve study problem.
Knowee AI StudyGPT is a powerful AI-powered study tool designed to help you to solv

This problem has been solved

Similar Questions

Which of the following can be used as a prefix for Directive?*a) data-b) ng-c) All of the mentionedd) None of the mentioned

AngularJS expressions bind AngularJS data to HTML like which of the following directive?*a) ng-repeatb) ng-bindc) ng-appd) ng-model

Choose the directive which is used to find the values of HTML controls to application data.(1 Point)ng-hideng-appng-initng-model

Which of the following data structure is useful in traversing a given graph by breadth first search?a)Stackb)Queuec)None of the mentionedd)List

_______package is used for JDBC connection.a)Both java.sql and javax.sqlb)javax.sqlc)None of the mentionedd)java.sql

1/3