AngularJS implements a single-page application. How does the homepage load subpages?
I know that when SPA loads subpages, it uses ajax to obtain the corresponding html page and then adds it to the corresponding container. Here I would like to ask if angularjs has encapsulated this part of the function for easy calling. Or does Angular itself use other methods, or does it require developers to implement it themselves?
Refer to angular’s own routing mechanism, better is the uiRouter component