angular backend reimplemented