use $scope.apply to update your dom
try like this
$scope.apply(function(){
$scope.data.mqttMessage=parsed;
});
use $scope.apply to update your dom
try like this
$scope.apply(function(){
$scope.data.mqttMessage=parsed;
});