Software Development

Can $scope be shared among controllers?

No. $scope is created for each controller. We’ll prove just that on this article by showing data (or same variable) do not have the same value in two controllers.

Read More...

Software Development

Communicate between controllers via $rootScope in AngularJS

AngularJS provides facilities for sharing data between scopes. Scopes are organized in a hierarchy with root scope ($rootScope) as the parent node. Each controller (or instance thereof) is given a

Read More...