A skeleton for building angular.js apps with a symfony 2 PHP backend REST API