implemented CRUD-operations for indicators in angular.js