title: How to style element width % using ng-style
body: <p>I want to style my progress bar using with percentages but following ng documentation I can't seem to grasp it. It should be 20% with, but it's 100% (default).</p>
  
  <p>Fiddle: <a href="http://jsfiddle.net/u6xp8csh/" rel="noreferrer">http://jsfiddle.net/u6xp8csh/</a></p>
  
  <p>Here is what I have tried</p>
  
  <h3>HTML</h3>
  
  <pre><code>&lt;div data-ng-app&gt;
      &lt;div data-ng-controller="ProgressBarController"&gt;
          &lt;div class="progress-bar-container"&gt;
              &lt;div class="progress-bar" ng-style="{'width' : '{{ progress }}'% }"&gt;{{ progress }}&lt;/div&gt;
          &lt;/div&gt;
      &lt;/div&gt;
  &lt;/div&gt;
  </code></pre>
  
  <h3>JS</h3>
  
  <pre><code>function ProgressBarController($scope) {
      $scope.progress = 20;
  }
  </code></pre>
  
  <h3>CSS</h3>
  
  <pre><code>.progress-bar-container {
      width: 300px;
      height: 100px;
      box-sizing: border-box;
      border: 1px solid black;
  }
  .progress-bar {
      height: 100px;
      background-color: green;
  }
  </code></pre>