Angular2 RC5 NgClass错误

时间:2016-08-30 19:23:04

标签: angular

我将我的应用更新为有角度的RC5版本,当我尝试运行时,我收到了屏幕截图中附带的错误

enter image description here

2 个答案:

答案 0 :(得分:1)

请勿在{{1​​}}中添加NgClass声明。

AppModule

就够了。

答案 1 :(得分:0)

I was able to fix this issue, the problem is that I was injecting CORE_DIRECTIVES in @NgModule() in my AppModule.

Thank you Gunter Zochbauer