JSFiddle - React, Tailwind, and code Playground
HTML
<div ng-app="MyApp" ng-controller="MyCtrl">
</div>
JavaScript
var MyApp = angular.module("MyApp", []);
function MyCtrl($scope) {
// Init scope vars
$scope.data_copy = {};
// If data_copy changes...
$scope.$watch("data_copy", function(newValue, oldValue) {
alert("$watch triggered!");
}, true);
}