Switched Media Gallery dashboard to Angular template polyfill