CognitoUserPoolsを使うAngular2 SPAのサンプルを動かす | DevelopersIO