How do I implement secure OAuth2 consumption in Javascript? How do I implement secure OAuth2 consumption in Javascript? angularjs angularjs