Hello how can I pass $scope data to JSON when I initialise it?
e.g I have scope users:
$scope.users = [
{ name: "Camila Gilson" },
{ name: "Chloe Creighton" },
{ name: "Zoey White" }
];
I want to store users's info in json, is it possible?
Thanks?