Implementation of Stripe API in Angular rails APP