Ng app wth rails api backend