<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
Use value="data.value.marks"
. Do not put curly braces.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.