Using ng-switch to show inventory status in UI.