r/Angular2 • • Jun 08 '26

Angular Material Dialogs Now Support Real Component Bindings

https://itnext.io/angular-material-dialogs-now-support-real-component-bindings-9c4c3c8cfcc3?source=friends_link&sk=ad320a5052f9479ea083fce325123b64
30 Upvotes

9 comments sorted by

View all comments

Show parent comment

1

u/makmn1 Jun 09 '26

You can do the same thing with Angular’s dialog service by passing a template instead of a component to the service. It sounds similar to what you described, but I’m guessing in your case you’re using the native dialog?

1

u/fernker Jun 09 '26

I can't recall, probably.