We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
To fix this issue, instantiate the new dialog controller using:
let locals = options.locals || {}; locals.$scope = scope; // Instantiate controller if provided if (options.controller) { this.dialogController = this.$controller(options.controller, locals); } // Compile template this.loadTemplate(options) .then((template) => { self.compiledDialogElement = self.$compile(template)(locals.$scope); // Insert element into DOM element(self.$document.find('body')).append(self.compiledDialogElement); });
We also need to add an example of using this to the documentation site:
openTemplateUrlCustomDialog = function() { IasDialogService .open({ controller: MyDialogController, templateUrl: './my-dialog.template.html', locals: {foo: 'bar'} }); };
The text was updated successfully, but these errors were encountered:
No branches or pull requests
To fix this issue, instantiate the new dialog controller using:
We also need to add an example of using this to the documentation site:
The text was updated successfully, but these errors were encountered: