separate json data from html to json file

独自空忆成欢 提交于 2019-12-13 09:47:14

问题


I need to separate chart Data in file HTML to file JSON and poster the chart and the table result --

thanks


回答1:


When angular is running in the browser, the json file will be located in the server. You will need to do a angular $http.get to get the data into your angular controller. set the received data in your controller and feed it to your chart.



来源:https://stackoverflow.com/questions/42174833/separate-json-data-from-html-to-json-file

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!