SSC IMD SA Mock 03 – Question 195

Question:

Which directive is used for binding the model data to the view?

मॉडल डेटा को व्यू (view) से बाइंड करने के लिए किस निर्देश (directive) का उपयोग किया जाता है?

Options:

  • ng-model-view
  • ng-model-app
  • ng-model
  • ng-app-model
  • ng-model-view
  • ng-model-app
  • ng-model
  • ng-app-model

Correct Answer: c)

Explanation:

In AngularJS, the `ng-model` directive binds the value of HTML input elements (such as `input`, `select`, `textarea`) to model data in the application scope. It provides two-way data binding, synchronizing changes between the Model and the View automatically.

AngularJS में, `ng-model` डायरेक्टिव का उपयोग HTML इनपुट तत्वों (जैसे input, select, textarea) के मान को ऍप्लिकेशन के मॉडल डेटा से बाइंड करने के लिए किया जाता है। यह मॉडल और व्यू के बीच टू-वे डेटा बाइंडिंग प्रदान करता है।

Leave a Comment

Your email address will not be published. Required fields are marked *

Scroll to Top