angularjs for the backend