Using Angular timer in ionic

HI, I am using angular timer(i.e. http://siddii.github.io/angular-timer/index.html#/markup ) in ionic3, but when i put the timer tag in html page, then have error. Don’t know what need to do.

<timer end-time="{{timelimit.timeLimitDate}}">{{days}} days, {{hours}} hours, {{minutes}} minutes, {{seconds}} seconds.</timer> 

the error:

 Unhandled Promise rejection: Template parse errors:
'timer' is not a known element:
1. If 'timer' is an Angular component, then verify that it is part of this module.
2. To allow any element add 'NO_ERRORS_SCHEMA' to the '@NgModule.schemas' of this component. ("ate}}">{{days}} days, {{hours}} hours, {{minutes}} minutes, {{seconds}} seconds.</timer>-->

Did anyone know what need to do, thanks a lot~

you have to import module in the app.module.ts

1 Like

hi fnnHuman, what module i need to import?