-
Notifications
You must be signed in to change notification settings - Fork 154
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Unable to implement in ionic 2 project #33
Comments
+1 |
I'm using angular2-moment in my projeto ionic with success. npm install angular2-moment -> version 0.5.0 is compatible with ionic-angular beta 6 In my page/component declare the pipes, like this: import {TimeAgoPipe} from 'angular2-moment/TimeAgoPipe.js'; @component({ In my Html:
|
I followed the steps described by @mauricionarcizo , but i keep getting this error: |
Should be fixed by 0.8.0. Just upgrade to latest angular2-moment and import it like this:
|
This is not working for me. |
What does your import statement look like?
|
The same like you said: |
And which error do you get?
|
I get no errors anymore with the 0.8.0 version, but it also doesn't go to the page where I used the pipe in the html. I'll make a plunker. |
It works now, no clue why, I did everything again and now it works. Thanks. |
try it, it's makes alot of errors.
ionic 2 beta 6
if you success please tell me the steps to implement.
The text was updated successfully, but these errors were encountered: