What is the scope in angular js | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

What is the scope in angular js

I am just learning angular js now. with which elements in HTML and JavaScript we can compare scope in Angular js. for understanding in better way I want to compare with html and JavaScript

6th Jun 2018, 6:13 AM
Bhavani Sankar
Bhavani Sankar - avatar
1 Answer
+ 1
The scope is the binding part between the HTML (view) and the JavaScript (controller). The scope is an object with the available properties and methods. The scope is available for both the view and the controller. you can consider it a object that contain all of the methode and prperties that used in view and javascript if u wanna use it in javascript controller you should pass it into the java script. giod luck
17th Jun 2018, 9:29 PM
prg_Mohamad
prg_Mohamad - avatar