Login api NodeJs passport

I have a question about login between the ionic framework and api used in nodeJs with passport.
How work together ?
I have create my server in nodeJs and made the standard definition for passport. Now, how can call this api from front end app? Somebody have an example?