Hello, what is the best way to transfer $scope
data to JSON during initialization?
For example, I have a scope with users
:
$scope.users = [
{ name: "Camila Gilson" },
{ name: "Chloe Creighton" },
{ name: "Zoey White" }
];
I am interested in storing users' information in JSON format - is this achievable?
Thank you!