Fix the error in the podscontroller. 67/41367/4
authorthuva4 <tharma.thuva@gmail.com>
Fri, 8 Sep 2017 06:34:22 +0000 (12:04 +0530)
committerthuva4 <tharma.thuva@gmail.com>
Mon, 11 Sep 2017 13:38:22 +0000 (19:08 +0530)
remove the unnecessary "$rootscope" in the controller's parameters.

Change-Id: Ia048af9e146e871003307af27faca24a5ee225ca
Signed-off-by: thuva4 <tharma.thuva@gmail.com>
utils/test/testapi/3rd_party/static/testapi-ui/components/pods/podsController.js

index 894fcc1..a64c1f4 100644 (file)
@@ -20,7 +20,7 @@
         .controller('PodsController', PodsController);
 
     PodsController.$inject = [
-        '$rootScope', '$scope', '$http', '$filter', '$state', 'testapiApiUrl','raiseAlert'
+        '$scope', '$http', '$filter', '$state', 'testapiApiUrl','raiseAlert'
     ];
 
     /**
@@ -97,7 +97,7 @@
             }
             else{
                 ctrl.showError = true;
-                        ctrl.error = 'Name is missing.'
+                ctrl.error = 'Name is missing.'
             }
         }