12 Oct 2018

AngularJS – Data Binding

What is data binding in AngularJS?

AngularJS application is displayed in Hyper Text Markup Language container which is also representing a view. Data Binding is simply used to communication between view and model.

Tusaale ahaan :

<div ng-app=”NewModule” ng-controller=”NewController”>

<p ng-bind=”studentName”></p>

</ QAY>


var app = angular.module(‘NewModule’, []);

app.controller(‘myCtrl’, function($scope) {

$scope.studentName = “alok”;

$scope.studentId = “1XCHARX;


</ script>

Output: – alok

Angular JS Training

In Just 4 Days
Iska Diiwaangeli Hadda

GTranslate Your license is inactive or expired, please subscribe again!