What is the difference between $scope and scope in AngularJS ?
What is the difference between $scope and scope in AngularJS ?
devquora
Posted On:
Feb 22, 2018
1 Answer Written
Answered by devquora
The main difference between $scope and scope in AngularJS are as follows -
$scope is an AngularJS built-in object used as a bridge between the controller and the view. It defines model data and functions accessible in the view.
scope (without the dollar sign) refers to a directive's isolated scope, separating it from the parent scope for better encapsulation and reusability.