
Uday T. answered 04/28/21
Salesforce Expert Developer & Consultant To Help You Succeed
In summary the $scope in an AngularJS contains application data and methods. It is a built in object. As it is a javascript object, you can create properties to a $scope object inside a controller function. Furthermore, you can even assign a value or function to it. The $scope in many ways helps cement both the view and the controller by facilitating the transfer of data. In angular this transfer of data can be bi-directional. Angular JS creates a different $scope for each of its controllers. So in many ways the $scope is "scoped" by the controller it is in. However, an exception are nested controllers. With nested controllers a child controller has the ability to inherit its parent controller's scope. However, the opposite is not true - more specifically, a parent controller will not have access to its child's controller.