Skip to content

Commit fca052b

Browse files
committed
updates with info on dependencies and requirements
1 parent 31869e0 commit fca052b

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

readme.md

+7-7
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
# angular-pdf ![Build Status](https://travis-ci.org/sayanee/angularjs-pdf.png)
1+
# angular-pdf [![Build Status](https://travis-ci.org/sayanee/angularjs-pdf.png)](https://travis-ci.org/sayanee/angularjs-pdf) [![Dependency Status](https://gemnasium.com/sayanee/angularjs-pdf.png)](https://gemnasium.com/sayanee/angularjs-pdf)
22

33

44
>An [AngularJS](http://angularjs.org/) [directive](http://docs.angularjs.org/guide/directive) `ng-pdf` to display PDF files with [PDFJS](http://mozilla.github.io/pdf.js/).
55
6-
## Overview
6+
## Overview [[demo](http://sayan.ee/angularjs-pdf/)]
77

88
Integrate PDF files right into web pages.
99

@@ -19,6 +19,11 @@ Integrate PDF files right into web pages.
1919
1. define the view template
2020
1. define the path to pdf with scope variable
2121

22+
##Requirements
23+
24+
1. [AngularJS](http://angularjs.org/) - get the latest [angular.min.js](https://developers.google.com/speed/libraries/devguide#angularjs)
25+
1. [PDFJS](http://mozilla.github.io/pdf.js/) - build the files [`pdf.js` and `pdf.worker.js`](https://github.com/mozilla/pdf.js#building-pdfjs)
26+
2227
## Getting Started
2328

2429
1. install or copy over the file `dist/angular-pdf.min.js` or `dist/angular-pdf.js`
@@ -109,11 +114,6 @@ Integrate PDF files right into web pages.
109114
1. open the file `index.html` with a web server
110115
111116
112-
##Requirements
113-
114-
1. [AngularJS](http://angularjs.org/)
115-
1. [PDFJS](http://mozilla.github.io/pdf.js/).
116-
117117
##Similar projects
118118
119119
1. [ng-pdfviewer](https://github.com/akrennmair/ng-pdfviewer)

0 commit comments

Comments
 (0)