Closed austinleroy closed 2 years ago
Would love to see that merged, so we can reuse our modal components anywhere else in applications
Indeed, it's a much needed merge to ensure reusability...
I'd like to note that this PR is usable only for binding data to the component. Binding of callback functions is still not available. If that were ever to be supported, I believe it would not be a part of resolve
.
That being said, this would still improve the reusability of any component opened with $uibModal.
In which version will this be included? I could patch but it's a big project with many devs on board...
@austinleroy Do you understand the problem with Travis? Would love to see this merged ;-)
@bitflower It looks like the Travis build failed due to a timeout when running the karma task. The build should work correctly if another one is kicked off - I can't do it myself because I don't have write access to this repo
I read that if I close the PR and reopen it, a new Travis build will kick off...
For the future: you can also amend your commit and force push it
Bind resolve properties to controller of component opened with $uibModal. This mimics current uiRouter usage of resolve so any component can receive input data with $uibModal. Previous behavior was to force component to expose a resolve binding.
Closes #6540