Angular, SQL, routes, API