Do you want to track the progress of your page loading?
It's common for page loaders to estimate the amount of time it will take for the bar to fill up because calculating a percentage based on a single file load is impossible.
If you're aware that your page is loading 3 files with sizes of 10kb, 20kb, and 30kb, you can monitor when each file finishes loading and calculate the overall percentage from there. This method is likely used by websites like Gmail to determine loading status.
In conclusion, consider using an indeterminate progress bar along with a controller variable ($scope.loaded) that becomes true or false once the page has finished loading. Then, utilize ng-hide="loaded".