Integration example between Angular and Rails