I am building a web app and I want to know what is the best and the safest way to pass a variable from a django context dictionary to Angular.
I have access to a variable of the context dictionary from Django template. Should I use ng-init to pass that value to an Angular variable?
It is about a user profile page and I want the user to be able to update his Data. The Data is initialized when calling the view but when I want him to update that Data i want to post using an Angular JS variable.
Thanks in advance