The "Filling up" preloader

The idea if for a empty circle that will be “filled” as the percentage increases.
I tried doing it up but encounter some problems, anyone can help?