Skip to content

Commit

Permalink
modified ng-pdf tag syntax and updated to latest angularjs
Browse files Browse the repository at this point in the history
  • Loading branch information
sayanee committed Jun 1, 2014
1 parent ce3aa74 commit c622b06
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions example/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,14 @@

<div class="wrapper" ng-controller="DocCtrl">
<h1>{{pdfName}}</h1>
<ng-pdf template-url="/partials/viewer.html" canvasid="pdf" scale="1"></ng-pdf>
<ng-pdf template-url="/partials/viewer.html" canvasid="pdf" scale="1.5"></ng-pdf>
</div>

<a href="https://github.com/you"><img style="position: absolute; top: 0; right: 0; border: 0;" src="https://s3.amazonaws.com/github/ribbons/forkme_right_gray_6d6d6d.png" alt="Fork me on GitHub"></a>
<a href="https://github.com/sayanee/angularjs-pdf"><img style="position: absolute; top: 0; right: 0; border: 0;" src="https://s3.amazonaws.com/github/ribbons/forkme_right_gray_6d6d6d.png" alt="Fork me on GitHub"></a>

<script src="js/lib/pdf.js"></script>

<script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.2.8/angular.min.js"></script>
<script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.2.16/angular.min.js"></script>

<script>
var app = angular.module('App', ['pdf']);
Expand Down

0 comments on commit c622b06

Please sign in to comment.