What I\'m trying to do is open a modal from another component, however I keep getting this error TypeError: Cannot create property \'validator\' on string \'test1\'
TypeError: Cannot create property \'validator\' on string \'test1\'
you only need to add your child-component into the entryComponents in your module like this:
entryComponents: [ childComponent ]
it works for me