Under what circumstances does angularjs set up uiRouter routing between father and son?

  node.js, question

Previous projects have always been a separate state route for each page.
I saw a routing specification on the Internet.
For example: $state(“parent”,{}); $state(“parent.child”,{});
May I know under what circumstances such routing specifications are suitable?

When you have a nested view, that nested route is very convenient. If you are interested, you can have a look at our team’s flying meal exercise program.
https://github.com/ShuyunXIANFESchool/newcomer/tree/master/src/angularPractice/flymeal