Display huge documents


#1

Hi, I suggested this framework to build a sample app in my company.
So, I’m trying it and need show a huge contracts in the app. This documents has around 500000 characters divided in many paragraphs and tables.
I think to use collection repeat to improve performance, but can’t use ng-bind-html and don´t calculate the height of elements.
What is the best approach to achieve this requirement?

Thanks


#2

What you could do is split the document up by section/chapter/etc and then create a new view for the selected section. This way, you could create ion-items for each section and use collection repeat for the sections.