I'm currently experimenting with objects in Angular.
While using JSFiddle to define some JSON objects in an Angular controller, I've encountered a problem - it's not working and I can't seem to figure out why. Can someone with fresh eyes or a sharper mind take a look and let me know what's wrong?
function MyCtrl($scope) {
$scope.name = {
"countries": {
"usa": "washington",
"canada": "ottawa",
"netherlands": [
"official": "amsterdam",
"administrative": "The Hague"],
"israel": "jerusalem"
}
};
}