Fooling around with Angularjs, php, mysql