added a mocked function for createTableParams so the karma unit tests work.