Very new to angular and just experimenting.
I am trying to use nested JSON data. Below is an example. The values are not outputted in the html yet they were before I created it a JSON object. What am I missing?
var app = angular.module('ops', []);
app.controller('access', function($scope) {
$scope.links = [
{
logon: 'Logon',
setup: 'Create account'
}
];
});
<body ng-app="access">
<section ng-controller="access">
<div class="flex align-c justify-c links txt body lgt spac1" data-trans="ade">
<a href="">{{links.logon}}</a>
<a href="">{{links.setup}}</a>
</div>
</section>
</body>