Progress indicator using Angular JS