I recommend that you also check out the accompanying wiki post, which gives step-by-step instructions on how you could add the application to your web project. How to get started using ng2-pdf-viewer Our first step is getting started with ng2-pdf-viewer. Our library is very simple, but if you're already familiar with Angular in particular, and webpack with NPM, you should find everything easy. If you want to keep things simple, you could start with the sample app, in which we just create a single page using some HTML, CSS, and scripts. If you already have an existing web app that you'd really like to test (say, an ASP.NET MVC project), I'd recommend using webpack 3-bundler. Webpack 3 has many new configuration options, for example, an ability to use external modules in order to share common functionality between your pages. If you have no existing web apps to work with, I'd also recommend checking out the sample app, which also includes a simple AngularJS front-end with a simple login page. Let's see how we can go about using ng2-pdf-viewer in the demo. Our first step is to generate a project using your favorite CLI tool, or let's go ahead and use Angular CLI to make it easier. Ng generate component library If you have your own version number (you should!), then enter that number and press enter. When you do the same thing for the ng2-pdf-viewer library, you should be given the options to install it, or download it. Ng create library This creates a directory named “libraries”, with two subdirectories: “components” and “docs”. Inside “components” you need to run this command: NPM install component lib run nets Then, in “docs” folder, you should run this command: CD docs NPM install When done, you will have a folder called “components”, with a submit named “component”. Let's build the ng2-pdf-viewer library first, as we don't need it yet.