restier backend, angularjs frontend