AngularJS Question:

Give an Example of Data-Binding in AngularJS?

Tweet Share WhatsApp

Answer:

1 <div ng-app="" ng-init="quantity=10;cost=5" class="ng-scope">
2 <b class="ng-binding">Total Cost: 50</b>
3 </div>

Download AngularJS PDF Read All 57 AngularJS Questions
Previous QuestionNext Question
Does Angular use the jQuery library?What is Looping in AngularJs?