I've seen some questions around this topic, though I still didn't find the answer I'm looking for.
What is the right way to implement AngularJS application to interact with django?
As I understand the plan should like:
- Use django-restful to develop some api. it will be available e.g. /api/v1/whatever/app
- Right separate AngularJS code which will interact with api from step 1.
- Do the magic: Django is available with django router starting from / . How AngularJS pages should be loaded to client? Should I write additional TemplateView to allow angularjs part load on client side for /? How full urls (e.g. /post/ will be routed)? As I understand there is separate router in angularjs. Should it be separated on web server part? E.g. /api is handled by nginx to django and / is handled to static to load angular?
Do I need to use django-angular at all? As probably it looks like it would be better if angular won't be integrated into django templates and it will be completely separated. Is it so?
Maybe it's a bit mixed up in my head. Though I didn't find related explanation here.