moved footer to template; implemented ng-show; footer no longer flashes