I need to make a form that, when submitted, uses input to create a PDF file. I use angular for form and processing data, so it would be wise if there was a way to use angular in PDF generation.
It can help you! http://blog.sayan.ee/angular-pdf/
HTML sample code
<div class="container" ng-controller="DocCtrl"> <ng-pdf template-url="viewer.html"></ng-pdf> </div>
AngularJs Code Example
app.controller('DocCtrl', function($scope) { $scope.pdfUrl = '/path/to/all/pdf/' + $routeParams.pdfname + '.pdf'; });