added amount field validation as a directive with simple html test