3. Data Binding in AngularJS (Hindi)

Опубликовано: 28 Март 2021
на канале: Extreme Programmer
626
28

AngularJS Data Binding

Data binding in AngularJS is the synchronization between the model and the view.

What is Data Model?
AngularJS applications usually have a data model. The data model is a collection of data available for the application.

What is the View?
The HTML container where the AngularJS application is displayed, is called the view.The view has access to the model, and there are several ways of displaying model data in the view.

Two Ways to Display View:
1) You can use the ng-bind directive, which will bind the innerHTML of the element to the specified model property.
ng-bind="variable_name"
2) You can also use double braces {{ }} to display content from the model:
{{variable_name}}

----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------


View Complete Tutorial on the Playlist:
   • 1. AngularJS Tutorial for Beginners (Hindi)  


На этой странице сайта вы можете посмотреть видео онлайн 3. Data Binding in AngularJS (Hindi) длительностью часов минут секунд в хорошем качестве, которое загрузил пользователь Extreme Programmer 28 Март 2021, поделитесь ссылкой с друзьями и знакомыми, на youtube это видео уже посмотрели 626 раз и оно понравилось 28 зрителям. Приятного просмотра!