Open bastienmoulia opened 7 years ago
Hi,
I use angularJs with ES6 and I think it could be great to open a modal with the component class in addition to its name.
Actually I have to add the component to the angular module
import { AwsomeModalComponent} from "./awsome-modal.component"; angular .module("app", []) .component("awsomeModal", AwsomeModalComponent);
And call it
$uibModal.open({ component: "awsomeModal" });
What i would like is to import the component when I use it.
import { AwsomeModalComponent} from "./awsome-modal.component"; $uibModal.open({ component: AwsomeModalComponent });
Hi,
I use angularJs with ES6 and I think it could be great to open a modal with the component class in addition to its name.
Actually I have to add the component to the angular module
And call it
What i would like is to import the component when I use it.