Create pdf.controller.js

Controller file