In Angular ui-router nested state url changes,but template is not loading

前端 未结 6 994
滥情空心
滥情空心 2020-12-08 19:04

I am using ui-router for nested states & views. When I click on the link, the URL changes to the URL for the substate, but the template does not load.

For exampl

6条回答
  •  余生分开走
    2020-12-08 19:25

    I had the same issue, the solution was; open the project.html file (which is the parent page) and wrap everything within

    So, replace these:

    
    

    with these:

    
     
    
    

    and you will be good to go ;)

提交回复
热议问题