JSFiddle - React, Tailwind, and code Playground

HTML

<div ng-app="timerApp">
    <div ng-controller="timerController">
        {{time}}
    </div>
</div>

JavaScript

var app = angular.module("timerApp", []);
app.controller("timerController",['$scope','$interval','$filter', function($scope, $interval, $filter){    
    $interval(function(){   
        $scope.time = $filter('date')(new Date(),"hh:mm:ss a", 'UTC')
    },1000,0,null);
}]);