I installed ngx-clipboard as mentioned in the documentation and included the js in systemjs.config as well. However I am getting below error:
Unhandled Promise rejection: Template parse errors:
Can't bind to 'ngxClipboard' since it isn't a known property of 'button'. (" </div>
Here is my template:
<div class="col-xs-12 share-pageurl-label">
<a #copyTarget>{{pageURL}}</a>
</div>
<div class="col-xs-12 share-copy-btn">
<button [(ngxClipboard)]="copyTarget" (cbOnSuccess)="linkCopied()"
[ngClass]="{linkCopied: isCopied}">
{{copyBtnLabel}} <span *ngIf="isCopied" class="glyphicon glyphicon-ok"></span>
</button>
</div>