From f638834fcf4087cb7b0037711192c3d054dac25a Mon Sep 17 00:00:00 2001 From: Pawel Kozlowski Date: Sat, 3 Oct 2015 17:56:08 +0200 Subject: [PATCH] docs(CHANGELOG): add breaking change for the NgNonBindable directive Closes #4499 Closes #4501 --- CHANGELOG.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index c0f43380f3..f6cb2933ae 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -230,6 +230,13 @@ class A {@Property() one; @Event() two;} * After: class A {@Input() one; @Output() two;} +#### Compiler + +With a [new compiler](https://github.com/angular/angular/commit/76247b70973e3266e504e05381fbd7d85d4de5c6) `NgNonBindable` + is not a directive but rather a special attribute (`ng-non-bindable`) recognized by the compiler. This means that you +can't import / use the `NgNonBindable` as a directive. You should remove all the imports for the the `NgNonBindable` +directive and all the references to it in the `directives` section of the `@View` decorator. +