Using ui-router for “main” layout?
问题 I'm trying to create the 'main layout' for my page using ui-router views, but I can't seem to get it working right (various errors, controllers not getting called, templates not getting loaded). <!DOCTYPE html> <html ng-app="App"> <head> ... </head> <body> <header ui-view="header"> </header> <section ui-view="navigation"> </section> <section ui-view="content"> </section </body> </html> The idea is to have a state representing the "root" state for the whole site providing templates for