Using Spark.publish() with Simple JSON Data

Hi @Ali

I am not an angular.js user so maybe @Moors7 or someone else could help more.

Here is how you register for the events and do the initial JSON parsing:

eventSource.addEventListener('EventNameHere', function(e) {
            var rawData = JSON.parse(e.data);
            var parsedData = JSON.parse(rawData.data);
           ...
        }, false);

Where I put ... you need to add code to find your table (I would name it and use getElementById) and then add data to it (I would use the insertRow method of the table).