。咖啡
@FooCtrl = ->
$scope.products = Product.query()
.html
<div ng-repeat='product in products'>
<div ng-init='images_{{product.id}} = product.images' >
<div class='slideshow' ng-repeat='pic in images_{{product.id}}'>
<img ng-src='{{pic.url}}' />
</div>
</div>
我想这样做。但是ng-init='images_{{product.id}}'
抛出了一些异常。对此有任何补救措施或替代解决方案吗?