Issue #8292 by tuj: Added ng-switch on mediatype