Using multiple AngularJS versions in a project with Bower

烂漫一生 提交于 2019-12-11 06:38:21

问题


I've been trying to upgrade medium sized project from Angular version 1.2.16 to 1.6.4. The problem here is, I can't jump from one version to another, so I have to use both versions at the same time in the project. However, I couldn't able to find a well prepared guide to follow. There are some different steps which is described in SO or in Github pages. But anyhow, I couldn't manage it.

Here are some SO links that I've been reading during this time.

1 - Multiple versions of AngularJS in one page

2 - Supporting Multiple Versions of AngularJS

3 - https://github.com/angular-translate/angular-translate/wiki/How-to-use-a-different-version-of-AngularJS-using-Bower

And below is my bower.json:

{
  "name": "takademi",
  "version": "0.0.0",
  "dependencies": {
    "angular": "1.2.16",
    "json3": "~3.3.1",
    "es5-shim": "~3.1.0",
    "angular-cookies": "1.2.16",
    "angular-sanitize": "1.2.16",
    "angular-animate": "1.2.16",
    "angular-route": "1.2.16",
    "angular-bindonce": "~0.3.1",
    "restangular": "~1.4.0",
    "angular-base64": "~2.0.2",
    "lodash": "~2.4.1"
  },
  "devDependencies": {
    "angular-mocks": "1.2.16",
    "angular-scenario": "1.2.16"
  },
  "appPath": "app"
}

Can you suggest any good guide, blog, video tutorial for me to follow?

Thanks in advance.

来源:https://stackoverflow.com/questions/44668089/using-multiple-angularjs-versions-in-a-project-with-bower

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!