I am currently working on a mean stack app with ionic and Im using local authentication. When I log in from the browser the app runs fine but once I use PhoneGap the application will not pass the login page Ive googled everywhere but I have found nothing please help! does phone gap dont works well with local auth? also I am using my database from mlab, but when I was using local data base it would not work..... Thank you!

