Can I use an array of objects as the value of one of the pairs of name/value in the JSON?

There is a json object.
var post = {
"images" : [
 {"img" : "img/1.jpg",
 "img-desc" : "Description for first image"},
 {"img" : "img/2.jpg",
 "img-desc" : "Description for second image"},
 {"img" : "img/3.jpg",
 "img-desc" : "Description for the third image"}
 ] 
}

From the point of view of the syntax of JS, I can declare the json object in this way.
However, the attempt using Angular.js to get to each value of img and img-desc ends in nothing. What is the problem?
<div ng-repeat="image in post.images">
 <img ng-src="{{image.img}}">
<p>{{image.desc}}</p>
</div>

In addition, it is not possible to withdraw a particular item. For example:
<p>{{post.images[1].img-desc}}</p>
September 19th 19 at 13:09
1 answer
September 19th 19 at 13:11
And you added the post in the $scope?

Everything works
Yes. The problem arose after I images and descriptions put into objects.
Okay, that is the expression I get every picture and description is correct and should work? - karson.Cole commented on September 19th 19 at 13:14

Find more questions by tags AngularJSON