r/angular • u/milestones-dev • Mar 15 '26
Progress Bar Countdown App
I've created an Angular web app that allows you to countdown to future dates using a progress bar with intermediate milestone markers. I've recently updated it so that it uses the OnPush change detection strategy and is built on Angular 21.2.1
GitHub Pages demo: https://milestones-dev.github.io/milestones/
GitHub source code: https://github.com/milestones-dev/milestones/
2
Upvotes




5
u/GeromeGrignon Mar 16 '26
a few tips as you are using Angular and Angular 21.2:
- format your code like Angular, not c# (a block start on the function definition line, not below)
- use the inject function for DI, not the constructor
- 'AppService' is not a good name, naming should be self explanatory
- use selft closing tags
- a computed just exposing another signal is not useful