angularjs form with sqlite