Source for this demo, other examples at bahmutov/ng-services and available on NPM.
The timestamp is generates using $interval service, formatted using date filter and emitted via root scope every second. All this is hidden from the user, and the application rendering is done using virtual-dom.
Application code using virtual-dom