more efficient Angular oauth handling for social networks