Fixed diagnostic dashboard

Change-Id: Ic46da11d822fd5b4e381a5846dfe4203d03a8849
diff --git a/views/ngXosViews/diagnostic/src/js/diagnostic.js b/views/ngXosViews/diagnostic/src/js/diagnostic.js
index 7d97fdb..47f5e8e 100644
--- a/views/ngXosViews/diagnostic/src/js/diagnostic.js
+++ b/views/ngXosViews/diagnostic/src/js/diagnostic.js
@@ -6,7 +6,7 @@
       restrict: 'E',
       templateUrl: 'templates/diagnostic.tpl.html',
       controllerAs: 'vm',
-      controller: function(ChartData, Subscribers, ServiceRelation, $rootScope, $log){
+      controller: function(ChartData, Subscribers, SubscribersWithDevice, ServiceRelation, $rootScope){
 
         this.loader = true;
         this.error = false;
@@ -43,7 +43,7 @@
           .then((serviceChain) => {
             this.serviceChain = serviceChain;
             ChartData.currentServiceChain = serviceChain;
-            return Subscribers.getWithDevices({id: subscriber.id}).$promise;
+            return SubscribersWithDevice.get({id: subscriber.id}).$promise;
           })
           .then((subscriber) => {
             this.selectedSubscriber = subscriber;