Question: I am trying to use dynamic ng-model for multilingual data entry. Here is my tabset:

```
<tabset>
    <tab ng-repeat="language in languages" heading="{{language}}">
        <input type="text" data-ng-model="name[language]" id="name[language]" class="form-control" >
    </tab>
</tabset>

```

But it gives error. How can I use it?

Here is the plunker:

[Plunker Code](http://plnkr.co/edit/sXI0ylDrAHgmGxF6nDc1?p=preview)

Answer: 
What about declaring $scope.name as an empty object? It seems like it makes the error [disappear](http://plnkr.co/edit/GpHO5QPg4JWeY0RZyxHv).
You can declare an empty array in your controller as:

```
$scope.value=[];

```

In your html page you can write this:

```
<tabset>
<tab ng-repeat="language in languages" heading="{{language}}">
    <input type="text" data-ng-model=value[$index] id="value[$index]" class="form-control" >
</tab>

```