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
Below code works perfect in ngDialog "0.5.9"
After I upgrade it to "0.6.6" or "1.4.0", it cannot work, all the data in template bound to lctrl has been lost.
ngDialog.open({ template: 'projecta/testa.tpl.html', controller: 'loginCtrl', controllerAs: 'lctrl', resolve: { ... } });
If I change it to use
controller: 'loginCtrl as lctrl',
instead of use controllerAs, it will solve the issue.
I just want someone can help to tell me if controllerAs is deprecated? or what should be the correct way to use it?
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Below code works perfect in ngDialog "0.5.9"
After I upgrade it to "0.6.6" or "1.4.0", it cannot work, all the data in template bound to lctrl has been lost.
If I change it to use
instead of use controllerAs, it will solve the issue.
I just want someone can help to tell me if controllerAs is deprecated?
or what should be the correct way to use it?
The text was updated successfully, but these errors were encountered: