Use AngularJS (Angular1) module from Angular2 project

前端 未结 2 1710
无人及你
无人及你 2021-02-05 19:21

Just started a demo Angular2 project (no previous experience with Angular1/AngularJS. Have followed and extended from the online quickstart and tutorials, and all was fine. Howe

2条回答
  •  南旧
    南旧 (楼主)
    2021-02-05 20:07

    So the major problem in this case turned out to be the fact that it appears that the upgrade components aren't included as part of the basic angular 2 bundle. After adding:

    to my index.html file the error I was seeing disappeared.

    Thanks to the answer here for pointing me in the right direction!

提交回复
热议问题