R
R
Robert2016-07-07 12:06:24
Angular
Robert, 2016-07-07 12:06:24

Is it possible to mix angular and rails?

All application routing is done in Rails.
How common is it to mix angular + rails in views?
Those. parshals are rendered using Rails, and some little things like the user's avatar, and the rest of the logic using the Angular + API.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
M
Mikhail Osher, 2016-07-07
@Jowan

Mix but do not shake.
rails gives the base layout and the necessary data to start the application (keys, authorization).
Angular should do the rest.
IMHO, partials + angular = bad idea.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question