changed ng-show to ng-if

to prevent race conditions between the html being rendered and  when the service returns the values to be drawn
Merge pull request #49 from Rise-Vision/bug/stats-table-1-of-0-pages

changed ng-show to ng-if