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
1 Respuesta
+ 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