Minor refactoring for data generator.
Write specs for ServerSideCtrl.
Write specs for AgGridDirectiveCtrl.