Re: [AngularJS] Angular 2 (Can't bind to X since it isn't a known property...)

2015-08-14 Thread Pawel Kozlowski
On Fri, Aug 14, 2015 at 4:40 PM, Micael Pedrosa wrote: > But returns: "Can't bind to 'class' since it isn't a known property of the > '' element and there are no matching directives with a corresponding > property" Right, this is correct, since by default ng2 is binding to HTML element propertie

[AngularJS] Angular 2 (Can't bind to X since it isn't a known property...)

2015-08-14 Thread Micael Pedrosa
I'm testing Angular 2 (2.0.0-alpha.34), and I'm getting a lot of these kind of errors. Like for example, this should work on template: on class classTypes = "collapsible popout"; But returns: "Can't bind to 'class' since it isn't a known property of the '' element and there are no m