shlomiassaf / ngx-modialog

Modal / Dialog for Angular
http://shlomiassaf.github.io/ngx-modialog
MIT License
686 stars 242 forks source link

Use a template in 'body' method #307

Open marvindaviddiaz opened 7 years ago

marvindaviddiaz commented 7 years ago

It would be great, if the 'body' method could receive a template, like that:

.body('./user-enable-disable.modal.html')

NicolasHumann commented 7 years ago

+1

matthieu-D commented 7 years ago

require('template.html'). Not compression friendly if I remember well.