use $rootProvider to redirect

However conflict with reveal.js