Edit in JSFiddle

function myCtrl($scope, $defer){
    $scope.clock = "initialised";
    
    setInterval(function(){
        $scope.$apply(function() {
            $scope.clock = Date.now();
        });
    }, 1000);
}
<div ng-controller='myCtrl'>
    <p>{{ clock }}</p>
</div>

              
            
          
            
              

External resources loaded into this fiddle: