Client refactoring

- Implemented suggestions from AngularJS Style Guide by John Papa. See https://github.com/johnpapa/angularjs-styleguide.
- Fixed issue with pagination buttons not showing up with panelTableService.