AlexAnand
AlexAnand

Reputation: 169

Multiple progress bar in angularjs

<tr ng-repeat="data in data.names">
       <td>
           <progressbar class="progress-striped"  value="{{ data.value.marks }}"            <-- // here is problem
             type="warning">{{ data.value.name }}</progressbar>
      </td>

</tr>

Problem:

 I am using value="{{ data.value.marks }} *<-- // here is problem*

 don't know how to solve it

error Error: [$parse:syntax] Syntax Error: Token 'data.value.marks' is unexpected, expecting [:]

Need to assign the value dynamically using ng-repeat please guide me on this

Upvotes: 0

Views: 929

Answers (1)

Shivaraj
Shivaraj

Reputation: 613

Use value="data.value.marks" . Do not put curly braces.

Upvotes: 1

Related Questions