title: angularjs javascript - easy way to convert html webpage to pdf
body: <p>Is there an easy way to convert and view as pdf from my html webpage  in angularjs</p>
  
  <p>example html:</p>
  
  <pre><code>&lt;table class="table table-hover table-condensed table-bordered" style="font-size: 12px"&gt;
  
      &lt;tr&gt;
          &lt;th align="left"&gt;Qty&lt;/th&gt;
          &lt;th align="left"&gt;Item&lt;/th&gt;
          &lt;th align="center"&gt;Description&lt;/th&gt;
          &lt;th align="center"&gt;Rate&lt;/th&gt;
          &lt;th align="center"&gt;Amount&lt;/th&gt;
      &lt;/tr&gt;
  
      &lt;tr ng-repeat="item in items" ng-class-odd="'odd'" ng-class-even="'even'"&gt;
          &lt;td align="left"&gt;{{item.qtyToOrder}}&lt;/td&gt;
          &lt;td align="left"&gt;{{item.ItemCode}}&lt;/td&gt;
          &lt;td align="center"&gt;{{item.Desc}}&lt;/td&gt;
          &lt;td align="center"&gt;{{item.price}}&lt;/td&gt;
          &lt;td align="center"&gt;{{item.qtyToOrder * item.price}}&lt;/td&gt;
  
      &lt;/tr&gt;
  &lt;/table&gt;
  </code></pre>