Basic structure of angular.js backend.