1

I have problem with progress bar and ng-style Here's my code :

<div class="progress" >
  <div class="progress-bar progress-bar-striped active" role="progressbar" aria-valuemin="0" aria-valuemax="100" ng-style="width:datas[0].downloading">
  <span class="glyphicon glyphicon-download" ></span>
 </div>
 </div>

My plunker: http://plnkr.co/edit/g1t4pludTTIAJYKTToCK?p=preview Thanks for answers in advance!

1
  • width:datas[0].downloading gives error. Commented Aug 18, 2017 at 10:32

1 Answer 1

1

Close with curly braces like: ng-style="{width:datas[0].downloading}"

Fixed demo

Sign up to request clarification or add additional context in comments.

Comments

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.