$ injector不能使用sharepoint框架进行角度迁移 [英] $injector not working in angular migration with sharepoint framework
本文介绍了$ injector不能使用sharepoint框架进行角度迁移的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我在此链接后使用spfx进行了角度应用:
解决方案
使 确定
模块(todoapp)的名称.module('todoapp')匹配此。
injector = angular.bootstrap(this.domElement,['todoapp']);
这是一个很好的参考线程。
< a href ="https://www.c-sharpcorner.com/article/sharepoint-framework-crud-operations-using-an gular-js /"> https://www.c-sharpcorner.com/article/sharepoint-framework-crud-operations-using-angular-js/
最好的问候,
利跨度>
Hi,
I have made angular application using spfx following this link:
解决方案
Hi,
Make sure the name of module(todoapp) angular.module('todoapp') matches this.
injector = angular.bootstrap(this.domElement, ['todoapp']);Here is a good thread for your reference also.
https://www.c-sharpcorner.com/article/sharepoint-framework-crud-operations-using-angular-js/
Best Regards,
Lee
这篇关于$ injector不能使用sharepoint框架进行角度迁移的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文