AngularJS implementation with node service, using MySQL database