After looking at your related example, the author introduces a helper function to calculate the angle from the arc and then uses the polyline to draw. Theft of their implementation and its application to your diagram is as follows:
<!DOCTYPE html> <html> <head> <script src="https://cdnjs.cloudflare.com/ajax/libs/d3/4.3.0/d3.min.js"></script> </head> <body ng-app="myApp" ng-controller="myCtrl"> <svg></svg> <script> </script> </body> </html>
source share