force a more reliable redraw when switching between svg and html; use the ng-app element to grab root scope