npm module and bower component for creating/saving form inputs from mongoose models