How to tie angular and symfony?

Guys had a question. Is the client part on angular 2, but do not understand how to connect the router angular and Beck part of symfony. Where to begin the study of prompt? Experience with symfony not. Understand that the issue is buggy, but is better formulated yet.
July 2nd 19 at 17:42
2 answers
July 2nd 19 at 17:44
If you don't have experience with symfony - then from that start
But in order for angular to communicate - you most likely will have to in response to issue json - How to give json in symfony2?
The project I created as the first link. I don't understand where to read about the logic of rest api to sympfony - katelin_Schul commented on July 2nd 19 at 17:47
What do you mean by rest of the logic? In the simplest case you have all the URLs/ranting prescribed hands. In fact from the normal website different your will only what answers to give in the json, not html. There are still FOSRestBundle - - saul.Trantow commented on July 2nd 19 at 17:50
: I need to spend time on yaml, twig, etc.? - katelin_Schul commented on July 2nd 19 at 17:53
Yaml is a format in which to store preferences, in principle it is not complicated and can be useful, so it is better to watch.
twig is the templating engine, if you do not have html pages, it can be ignored. It is not too difficult, but if you don't need the sense to study particular not in the framework of this project. - saul.Trantow commented on July 2nd 19 at 17:56
July 2nd 19 at 17:46
I would do a rest api for Symphony, and through him received or recorded data into the database.

Here, even googled video course

Find more questions by tags SymfonyAngular