I am studying angular js and I think its a simple question
See script - Its repeating tag ( ng-repeat )
<a href="#/modelList/{{carBrandList.data[5].model}}">{{brand.model}} </a>
You note this {{carBrandList.data[5].model}} In that tags
my Question
I want to be set array value correspond repeating row - {{carBrandList.data[dynamic correspond value].model}}
my failure code
<a href="#/modelList/{{carBrandList.data[`{{$index + 1}}`].model}}">{{brand.model}} </a>
controller
angular.module('carPricesApp.controllers',[]).
controller('carPricesController', function($scope, $http){
$scope.carBrandList = [];
$http.get("apidata.js")
.success(function(response) {
$scope.carBrandList = response
})
})