First practice with Zend2 + AngularJs + PostgreSQL