devyumao / angular2-busy

Show busy/loading indicators on any promise, or on any Observable's subscription.
http://devyumao.github.io/angular2-busy/demo/asset/
MIT License
314 stars 102 forks source link

Can't bind to 'ngBusy' since it isn't a known property of 'div' #74

Closed rajndev closed 7 years ago

rajndev commented 7 years ago

I'm getting that error with the following line placed in my template:

<div [ngBusy]="busy"></div>

error: Can't bind to 'ngBusy' since it isn't a known property of 'div'

I have imported the busy module in app.module.ts and have followed the directions in the readme file to the tee. How can I make the directive be recognized?

Thanks.

hohler commented 7 years ago

What was your solution?