HsuanXyz/ion2-calendar - ion-calendar is not a known element outside of src/app

Hello.
I’ve installed https://github.com/HsuanXyz/ion2-calendar and imported it on app.modules as described.
The problem is I’m only able to use component in the app/app.html file. If I try using it anywhere else, like in pages/*.html, the component selector tag is highlighted in red as an error and the message says:

[Angular]
‘ion-calendar’ is not a known element:

If ‘ion-calendar’ is an Angular component, then verify that it is part of this module.
If ‘ion-calendar’ is a Web Component then add ‘CUSTOM_ELEMENTS_SCHEMA’ to the ‘@NgModule.schemas’ of this component to suppress this message.

-It works on app/app.html
-It doesn’t work anywhere else, even a test.html created in the app directory.

What has gone wrong and how can I fix it so i can use the component on my pages?

Thank you.

Are you lazy loading?

I’m facing the same problem, and i’m using lazing loading my question is how to fix this in Lazyloading?