Fix for ONOS-3678

Change-Id: I806f32c13df33f137d199618de0ad495833a5d0e
(cherry picked from commit 14fefb5)
diff --git a/web/gui/src/main/webapp/app/view/flow/flow.js b/web/gui/src/main/webapp/app/view/flow/flow.js
index f8d816c..776f40d 100644
--- a/web/gui/src/main/webapp/app/view/flow/flow.js
+++ b/web/gui/src/main/webapp/app/view/flow/flow.js
@@ -41,7 +41,9 @@
             $scope.portTip = 'Show port view for this device';
             $scope.groupTip = 'Show group view for this device';
             $scope.meterTip = 'Show meter view for selected device';
-
+            $scope.briefTip = 'Switch to brief view';
+            $scope.detailTip = 'Switch to detailed view';
+            $scope.brief = true;
             params = $location.search();
             if (params.hasOwnProperty('devId')) {
                 $scope.devId = params['devId'];
@@ -59,6 +61,10 @@
                 }
             };
 
+            $scope.briefToggle = function () {
+                $scope.brief = !$scope.brief;
+            };
+
             $log.log('OvFlowCtrl has been created');
         }]);
 }());