Multiple versions of AngularJS in one page

后端 未结 4 940
予麋鹿
予麋鹿 2020-12-05 05:46

What issues might I experience in having two different versions of AngularJS loaded into one page?

Obviously this seems like a stupid thing to do, b

4条回答
  •  死守一世寂寞
    2020-12-05 06:01

    Matt Burke describes a process to wrap the Angular JS libs in a function to create a closure. Downside is that you cannot load Angular via a public CDN as you have customized the download.

    http://www.mattburkedev.com/multiple-angular-versions-on-the-same-page/

提交回复
热议问题