Angular-tree-component: ngOutletContext breaks with Angular 5.0.0

Created on 5 Nov 2017  路  6Comments  路  Source: CirclonGroup/angular-tree-component

I get a run time error after updating to Angular 5.0.0:
Can't bind to 'ngOutletContext' since it isn't a known property of 'ng-container'.

  1. If 'ngOutletContext' is an Angular directive, then add 'CommonModule' to the '@NgModule.imports' of this component.

In the specs I read that ngOutletContext should be renamed to ngTemplateOutletContext.
https://github.com/valor-software/ngx-bootstrap/issues/2658

regards
Joachim

Most helpful comment

When will this be on npm? Tnx (5.1.2)

All 6 comments

I get the same error. Is there an update plan yet?

By replacing ngOutletContext to ngTemplateOutletContext in all files, it worked for me.

When will this be on npm? Tnx (5.1.2)

Any news on this issue?

@devfcr this will be fixed as soon as possible according to this comment

Published in 5.2.0

Was this page helpful?
0 / 5 - 0 ratings

Related issues

filipemansano picture filipemansano  路  5Comments

Vishnusangam picture Vishnusangam  路  4Comments

nicolae536 picture nicolae536  路  5Comments

Shadowlauch picture Shadowlauch  路  5Comments

Roman-Simik picture Roman-Simik  路  5Comments