refactor payment form with angular
using ng-view
added field-row directive
calculate start and end period
fixed the scope issue in payment
fixed the date format in js
fixed payment paid date
added validation payment test
fixed validation for user search
fixed validation for date picker
fixed date picker validation
removed comments
added payment template modal
added payment templates in payment
added default startperiod
fixed the select update from template
change the paymentType to object in angular
add saving halfway
save payment from api
added redirect after saving payment