I have an existing angular2 application and I am upgrading it to rc.0 from beta. I have it compiling but at runtime I get this error:
EXCEPTION: No provider for SanitizationService! (ViewUtils -> SanitizationService)
I can't find much information on the sanitation service. I don't see it being used in the quickstart. I have no reference to sanitation in my code - it's only in the angular libraries.
Has anyone gotten this error? How to I set a provider?
消毒服务是rc.0中引入的,它可能包含的错误比最新版本rc.1中的错误更多,因此我建议跳过rc.0并直接转到rc.1。
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.