GUI -- TopoView - Reimplemented 'traffic' related functionality.

Change-Id: I86d16324e4ce2cd2e0eb8d8f48f72804d7ce101f
diff --git a/web/gui/src/main/webapp/app/view/topo/topoEvent.js b/web/gui/src/main/webapp/app/view/topo/topoEvent.js
index 10ed6df..f04c654 100644
--- a/web/gui/src/main/webapp/app/view/topo/topoEvent.js
+++ b/web/gui/src/main/webapp/app/view/topo/topoEvent.js
@@ -27,7 +27,7 @@
     'use strict';
 
     // injected refs
-    var $log, wss, wes, tps, tis, tfs, tss;
+    var $log, wss, wes, tps, tis, tfs, tss, tts;
 
     // internal state
     var wsock, evApis;
@@ -40,6 +40,8 @@
 
             showDetails: tss,
 
+            showTraffic: tts,
+
             addInstance: tis,
             updateInstance: tis,
             removeInstance: tis,
@@ -53,8 +55,6 @@
             addLink: tfs,
             updateLink: tfs,
             removeLink: tfs
-
-            // TODO: add remaining event api vectors
         };
     }
 
@@ -106,9 +106,10 @@
     .factory('TopoEventService',
         ['$log', '$location', 'WebSocketService', 'WsEventService',
             'TopoPanelService', 'TopoInstService', 'TopoForceService',
-            'TopoSelectService',
+            'TopoSelectService', 'TopoTrafficService',
 
-        function (_$log_, $loc, _wss_, _wes_, _tps_, _tis_, _tfs_, _tss_) {
+        function (_$log_, $loc, _wss_, _wes_,
+                  _tps_, _tis_, _tfs_, _tss_, _tts_) {
             $log = _$log_;
             wss = _wss_;
             wes = _wes_;
@@ -116,6 +117,7 @@
             tis = _tis_;
             tfs = _tfs_;
             tss = _tss_;
+            tts = _tts_;
 
             bindApis();