Angular JS route causing infinite loop

后端 未结 9 1505
清歌不尽
清歌不尽 2020-12-31 11:00

I\'m trying to figure out why the page doesn\'t navigate to its template when clicked. The URL updates, and I have no JS errors.. I believe it loads the file, but t

9条回答
  •  猫巷女王i
    2020-12-31 11:31

    I had this same problem and ultimately realized I had not actually created the partial html file that I was telling it to load in my app.config - if it can't find the template file, Angular seems to go into an infinite loop of the controller function.

提交回复
热议问题