With this setup the modal dialogs are working. But if I update to ngx-modialog@4.0.0-beta.2 I get the following error:
dialog.,_angular_core.Injector.create is not a function
TypeError: _angular_core.Injector.create is not a function
at DOMOverlayRenderer.render (http://localhost:8080/node_modules/ngx-modialog/bundle/ngx-modialog.rollup.umd.js:1389:46)
at Overlay.createOverlay (http://localhost:8080/node_modules/ngx-modialog/bundle/ngx-modialog.rollup.umd.js:1347:48)
at eval (http://localhost:8080/node_modules/ngx-modialog/bundle/ngx-modialog.rollup.umd.js:1329:47)
at Array.map (<anonymous>)
at Overlay.open (http://localhost:8080/node_modules/ngx-modialog/bundle/ngx-modialog.rollup.umd.js:1329:14)
at Modal$$1.Modal.open (http://localhost:8080/node_modules/ngx-modialog/bundle/ngx-modialog.rollup.umd.js:1462:53)
at OneButtonPresetBuilder.ModalOpenContextBuilder.open (http://localhost:8080/node_modules/ngx-modialog/bundle/ngx-modialog.rollup.umd.js:1794:30)
I used the version angular2-modal@3.0.2 with the following SystemJS configuration:
With this setup the modal dialogs are working. But if I update to ngx-modialog@4.0.0-beta.2 I get the following error:
I updated my SystemJS config to the following:
I use angular@4.3.5
Is it a bug or a SystemJS configuration problem? Thanks!
In the attachment you find my full SystemJS config. systemjs.config.zip