messy
messy

Reputation: 915

Angular 2 components/directives in Angular 4

Can I use Angular 2 components/directives in Angular 4? When I tried to use them I get the error Uncaught ReferenceError: angular is not defined.

Upvotes: 0

Views: 564

Answers (1)

Günter Zöchbauer
Günter Zöchbauer

Reputation: 658263

You can use Angular 2 components and directives in Angular 4 if they don't depend on features that were modified for Angular 4 (breaking changes)

Breaking changes are listed in https://github.com/angular/angular/blob/master/CHANGELOG.md

Upvotes: 1

Related Questions