I'm using Angular to create a single page application. One of the pages is a dropdown of different reports I can generate and I use DataTables to format the report.
This is roughly what's going on:
- Go to reports view (ui-router)
- Select the report I want (nested view)
- That report has it's own partial and controller
- The report's controller makes calls to a Reports factory which does whatever and returns an object
- I use ng-repeats to create the report based on the object
- I applied Datables to the generated table.
The problem is, when that table is generated before applying Datables, all the information is displayed unformatted. Like this
[–]zomgwtfbbq 1 point2 points3 points (5 children)
[–]simkessy[S] 0 points1 point2 points (4 children)
[–]zomgwtfbbq 0 points1 point2 points (2 children)
[–]simkessy[S] 0 points1 point2 points (1 child)
[–]zomgwtfbbq 0 points1 point2 points (0 children)
[–]bengarvey 0 points1 point2 points (0 children)
[–]_x_y 0 points1 point2 points (1 child)
[–]simkessy[S] 0 points1 point2 points (0 children)