Add the ability to bind a variable to change the state (class) of the progress bar

Currently if one wants to bind a variable to the class of the progress bar to change its appearance at different times, there is no way to do that because ng-class will be replaced after the linking phase of directive.

So I exposed a variable to pass the data into the template directly.