Multiple controllers with AngularJS in single page app

前端 未结 7 747
不思量自难忘°
不思量自难忘° 2020-12-22 16:44

I want to know is how to use multiple controllers for a single page application. I have tried to figure it out and I\'ve found questions very similar to mine, but there is j

7条回答
  •  陌清茗
    陌清茗 (楼主)
    2020-12-22 17:22

    Stuff here

    ///////////////// OR ////////////

    Stuff here

    menuController have access for menu div. And widgetController have access to both.

提交回复
热议问题