I am Loading PDF in Object element in Angular/HTML and i want to show Spinner or Loader or Progress for Object element, while data is being loaded

```
<object  [attr.data]="protectedUrl" type="application/pdf" style="width: 100%; height: 400px;"></object>

```