angular.module('landingApp', [])
.controller('landingController', ['$scope', '$window', function($scope, $window) {
  var host = "ws://" + $window.location.host + "/userwebsocket"
  ws = new WebSocket(host);
  ws.onmessage = function(e) {
    $scope.cameraInfo = JSON.parse(e.data);
    $scope.$apply();
  };

  $scope.changeChk = function(cameraInfo, status) {
    cameraInfo.status = status;
    ws.send(JSON.stringify(cameraInfo));
  };
}]);
@@ -414,16 +414,17 @@
 ringify(
+%5B
 cameraIn
@@ -425,16 +425,17 @@
 meraInfo
+%5D
 ));%0A  %7D;

send data in array format