Login with Api


I am using Ionic Creater, and i have designed my UI. I have to connect my app with different Api’s to get and post data. ve First i have to login with correct credentials. I have post user name and password to an api link, In case of positive respose login to the app.

Please help me in detail.