Bind error
bryanllewis opened this issue · comments
Bryan commented
When attempting to set this up, I get the following message to the console:
Uncaught Error: Template parse errors:
Can't bind to 'email' since it isn't a known property of 'img'.
<img ngxGravatar [ERROR ->][email]="user.email" [src]="user.avatar" class="img-thumbnail rounded-circle" alt="">
John Brown commented
You need to import GravatarModule
in the module that declares the component using ngxGravatar
directive.