I'm a beginner AngularJS/html user who's been trying to find a code snippet to make a clock/time item for a web app.
A web search did not provide straight-forward results as easily as I would expect them for something so trivial, so I thought I would post this question to get some answers and also make this easier to find for others.
I have posted my solution but want to see if there is anything nicer out there before choosing an answer!
There is an example of how to achieve this using interval from the Angular docs. You can also try it out in plunker.
Here is the code:
Javascript:
HTML
Here is the result: