-
Notifications
You must be signed in to change notification settings - Fork 228
New issue
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
Allow the ControllerAs syntax #85
Comments
I'll add this as a TODO, the service was created back when controllerAs wasn't available. |
👍 |
desperately need this functionality |
Can you submit a pull request for this. |
Change looks good to me. @samudurand can you test and verify it's good. Once I hear back I'll merge it. |
Merged |
@m-e-conroy 5.2.11 has been pushed |
Sweet, thanks. Sorry haven't been able to participate much lately.
|
It would be really nice if it was possible to add a parameter allowing to set the 'ControllerAs' attribute of the modal. For a classic modal I would do something like :
for this project you could modify slightly your syntax with a parameter 'lcf' like this :
var dlgs = dialogs.create('app/home/listCreationForm.tpl.html', 'ListCreationModalController','lcf', {}, 'lg');
The text was updated successfully, but these errors were encountered: