Using ng-class with Select

Today, I wanted to bind value from a select to a span. Depending on the value selected the color of the label was supposed to be different. Using AngularJS, I introduced ng-class="". It allows you to change classes conditionally. This is an example: