When reading the angularjs source code, I found a place that said $rootScope.$new is not very understandable.

  node.js, question

What is the meaning of $new? What’s the use? No specific instructions can be found online. . If you know, say it. Thank you

The authoritative tutorial reads as follows:
“To initialize a controller instance, you need to use the $new () method to create a new instance of a scope from $rootScope.
This new instance creates scope inheritance that Angular uses at runtime.
With this scope, a new controller can be initialized and passed as the controller’s $scope.
In the past. “