I am unable to login with php mysql

I am very new in ionic.this is my first project . I make a simple login app with php and mysql.I already done insert update and view but I am unable to make login . please help me.
I follow this code I am following this code