Cant override MD_DIALOG_DATA in angular material -
i want use component routed component , dialog well. when use dialog, md_dialog_data works charm , can access data config. same component throws error if dont use dialog : "no provider md_dialog_data". okay no prob set provider,
provider : [ {provider: md_dialog_data, usevalue: {}} ]
it absolve error, now, data object empty.
how can override or solve injection?
Comments
Post a Comment