[CORD-3046] Adding rule to correctly pluralize kubernetesdata

Change-Id: I27b1e9e2bb01ae4748a8a95631e57a005b8da3a6
diff --git a/package.json b/package.json
index ff4108c..a7eaaaa 100644
--- a/package.json
+++ b/package.json
@@ -3,11 +3,11 @@
   "dependencies": {
     "angular": "1.6.3",
     "angular-animate": "1.6.3",
-    "angular-base64": "^2.0.5",
-    "angular-chart.js": "^1.1.1",
+    "angular-base64": "2.0.5",
+    "angular-chart.js": "1.1.1",
     "angular-cookies": "1.6.3",
     "angular-resource": "1.6.3",
-    "angular-sanitize": "^1.6.7",
+    "angular-sanitize": "1.6.10",
     "angular-toastr": "2.1.1",
     "angular-ui-bootstrap": "2.5.0",
     "angular-ui-router": "1.0.0-beta.1",
@@ -23,7 +23,7 @@
     "pluralize": "3.1.0",
     "rxjs": "5.2.0",
     "socket.io-client": "1.7.3",
-    "typestate": "^1.0.5"
+    "typestate": "1.0.5"
   },
   "devDependencies": {
     "angular-mocks": "1.6.4",
diff --git a/src/app/core/services/helpers/config.helpers.spec.ts b/src/app/core/services/helpers/config.helpers.spec.ts
index 9e7318e..03b53d0 100644
--- a/src/app/core/services/helpers/config.helpers.spec.ts
+++ b/src/app/core/services/helpers/config.helpers.spec.ts
@@ -132,6 +132,7 @@
       expect(service.pluralize('xos')).toEqual('xoses');
       expect(service.pluralize('slice')).toEqual('slices');
       expect(service.pluralize('Slice', 1)).toEqual('Slice');
+      expect(service.pluralize('kubernetesdata')).toEqual('kubernetesdatas');
     });
 
     it('should preprend count to string', () => {
diff --git a/src/app/core/services/helpers/config.helpers.ts b/src/app/core/services/helpers/config.helpers.ts
index 443b6c2..194bea1 100644
--- a/src/app/core/services/helpers/config.helpers.ts
+++ b/src/app/core/services/helpers/config.helpers.ts
@@ -109,6 +109,7 @@
   ) {
     pluralize.addIrregularRule('xos', 'xoses');
     pluralize.addPluralRule(/slice$/i, 'slices');
+    pluralize.addPluralRule(/data/i, 'datas');
     pluralize.addSingularRule(/slice$/i, 'slice');
     pluralize.addPluralRule(/library$/i, 'librarys');
     pluralize.addPluralRule(/imagedeployments/i, 'imagedeploymentss');