[Django]-Angular JS and Django

3👍

Not a dumb question. But yes, it is totally doable. I put together a git seed for an angular web app with a django rest framework api. Check it out, I think it is exactly what you are looking for. Clone it down and try it out! Easy instructions to follow.

Angular-Django Seed

3👍

There is no dependency on NodeJS whatsoever. Your web framework handles server requests, and your angular app runs in the browser. You would use Django to serve the files used by the angular runtime, typically this includes a mix of HTML, JS and CSS files.

Your angular app may request data from the server, in which case it would ‘call into’ your Django code via an XHR request using the built in $http service (or possibly $resource service).

👤Jason

Leave a comment