Open janmichaelyu opened 7 years ago
What would be the benefit over using multiple view-file directives with different params? It could be interesting, just looking for good arguments..
You could also suppress the toolbar from view-file, and put some toolbar next to view-file directives yourself.
Something like:
As a user I would like to search for PDFs using a term and clicking on the results (converted documents) would also show the original PDF.
Like said before, I think you could do this relatively easily with multiple view-file directives on one page..
Ok. Will experiment. I used uib-tabs to show both the pdf and the converted xml but didn't like how it looked.
Let us chat offline next week. I'm still interested in allowing extra stuff to be shown, but need to think how to make it work generically..
Maybe take a convertedUri parameter and show that document when clicking a button.