-updated Angular/JSON communication