db helper, templating
angular integration