pass errorValidator to view
update dist/
update demo page for the errorValidator passing to view