CAS example
CAS example using http-auth-interceptor
use ngRoute "resolve"
replace alert with modal window from angular UI Bootstrap
add transparent relog using jsonp + CAS gateway
add relog using window.open+postMessage