javascript - Passing parameters between different views cannot use routing and cannot be exposed to the address bar. So what is the best way? ~
给我你的怀抱2017-06-10 09:48:19
0
1
778
I am currently using rootScope. Some people say to use service to pass it. But if there are not many parameters, such as just one, then creating a new service is overkill. What is the best practice? If possible, please give an example~
Is there any situation where the user may refresh after the jump? If so, use local storage