Fix bug with text settings page

It seems that as of Angular 1.2, two directives using transclude can
interfere with each other -- and both tabset and ng-switch use
transclusion. Moving the ng-switch to a separate div (and turning it
into ng-show/ng-hide) solves the problem.