How to implement Like button into my app

How to implement Like button into my app.please anyone help me.

I built a component called like-button. It takes an input “numLikes” an input “isLiked,” and emits an output “likeClicked.” Then you need to store whether the object the button is on has already been liked. The likeClicked output toggles the isLiked input.

1 Like

Please give me an example.because am new in ionic 2

Start with building a component with one input and one output. First step there is to read the official Angular component docs.

Thank you for your valuable reply.