changed update endpoint to json
removed ngview
precompile assets