84669 person learning
152542 person learning
20005 person learning
5487 person learning
7821 person learning
359900 person learning
3350 person learning
180660 person learning
48569 person learning
18603 person learning
40936 person learning
1549 person learning
1183 person learning
32909 person learning
The properties and methods of this object need to be accessible to components in any module
Simply create the corresponding component inShareModule.
ShareModule
Use the service, please note that the service must be registered in the root module
You can use services or local storage
It’s more convenient to use the service.
Use the run method to define a $rootScope.aa = 1; then you can get $rootScope.aa from other places
Simply create the corresponding component in
ShareModule
.Use the service, please note that the service must be registered in the root module
You can use services or local storage
It’s more convenient to use the service.
Use the run method to define a $rootScope.aa = 1; then you can get $rootScope.aa from other places