title: real-time update of table with data coming from websocket using angularjs
body: <p>I need to update a table in real-time with data coming from the web socket.</p>
  
  <p>What I do now is every time I get data on the socket I append it to a string and create a double dimensional array which is used to display the table using ng-repeat.</p>
  
  <p>The performance using this approach is quite slow. Besides this approach assumes that I am getting the message in sequence, however I do not get the data in the correct sequence.</p>
  
  <p>Would it be better to format the data as html or json and send it over web socket or sending the raw data is better?</p>
  
  <p>What would be a better way of doing this?</p>