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

Custom Angular element in config template #68

Open Sleeper9 opened 7 years ago

Sleeper9 commented 7 years ago

Hi, is there a way to specify an Angular element as the template? I'd like to use @angular2/material 's <md-progress> component, but currently it fails with a 'Not a known Angular element' error. I'd really like to have this feature, nice library! The appropriate code snippet from the NgModule imports is this:

BusyModule.forRoot(new BusyConfig({
      message:  '',
      template: `<md-progress>`
    }))
yousefkhan commented 6 years ago

Hi, any work around on this ?