Angular FE to RoR BE login example for Hoa