title: how to resize the image in angularjs?
body: <pre><code>&lt;div class="row" data-ng-repeat="row in imageDataUrls" &gt;
      &lt;div class="col-sm-3" data-ng-repeat="imageDataUrl in row" &gt;
          &lt;img alt="img" class="img-responsive"data-ng-src="{{imageDataUrl.url}}" /&gt;
      &lt;/div&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>I am showing the image using data URLs, but how can I get the current height and width in pixel to resize it proportionally in angular js?</p>
  
  <p>I have some algorithm to resize it independently</p>