AngularJS: Concatenate Strings in ng-options directive

angularjs-logo

In my current WIP i have a Dropdown Box for Water Meters and i wanted to display not only the Name of the meter, but also the serial number, so that i can identify the right meter, when i am in front of, for reporting the current water usage to my service.

The Front-End is realized in AngularJS, so i thought about, how to display the Name and Serial () in the Dropdown..

This solved my „problem“…

Maybe someone needs this too.