I'm looking to store my data in an external JSON file and have it update the list when the page is reloaded. Can anyone assist with this? Below is my code:
$scope.addUser = function() {
var user = {
id: null,
login: '',
firstname: '',
lastname: '',
password: '',
admin: ''
}
$scope.editUser(user);
$scope.titlePopup = "Create User";
$scope.list.push(user);
}
This is the JavaScript file for retrieving the data.
Thank you in advance for any help provided.