may just simplify this with angular only, remove db