directives: create progressBar directive