add binding for generating a view
added service generator
make corresponding js service generator