I have a existing angular app with it's own routing and multiple components that are used with each other. Using piral-ng converter i can convert an angular component to be used in piral but if an angular component is using another angular component, i am getting error.
Is there any way to use full fledged angular app as pilet
In order to use other Angular components you'll need to have them all defined in the same module.
So if you only do:
then using something else inside
AngularPage
will not work.However, if you define all those things in one module such as
then it would work, given that you properly tell
piral-ng
to use that module:This way using
OtherComponent
with its registered tag works as they are properly defined and share the same Angular module.