JSFiddle - React, Tailwind, and code Playground
HTML
<div ng-app="testApp">
<div ng-controller="testCtrl">
</div>
</div>
JavaScript
var app = angular.module('testApp', []);
function testCtrl($scope) {
$scope.hello = 0;
var t=setTimeout(function(){ $scope.hello++; console.log($scope.hello); },5000);
$scope.$watch('hello', function() { console.log('watch!'); });
}