added `template` parameter to documentation of ui.bootstrap.modal

resolves #1026