var app = angular.module('plunker', ['ui.bootstrap']);
app.controller('MainCtrl', function($scope) {
});
<!DOCTYPE html>
<html ng-app="plunker">
<head>
<meta charset="utf-8" />
<title>AngularJS Plunker</title>
<link data-require="bootstrap-css@*" data-semver="3.1.0" rel="stylesheet" href="//netdna.bootstrapcdn.com/bootstrap/3.1.0/css/bootstrap.min.css" />
<script>document.write('<base href="' + document.location + '" />');</script>
<link rel="stylesheet" href="style.css" />
<script data-require="angular.js@1.2.x" src="http://code.angularjs.org/1.2.12/angular.js" data-semver="1.2.12"></script>
<script data-require="angular-ui-bootstrap@*" data-semver="0.8.0" src="http://angular-ui.github.io/bootstrap/ui-bootstrap-tpls-0.8.0.min.js"></script>
<script data-require="jquery@*" data-semver="2.0.3" src="http://code.jquery.com/jquery-2.0.3.min.js"></script>
<script data-require="bootstrap@2.3.2" data-semver="2.3.2" src="//netdna.bootstrapcdn.com/twitter-bootstrap/2.3.2/js/bootstrap.min.js"></script>
<script src="app.js"></script>
</head>
<body ng-controller="MainCtrl">
<div style="width: 400px; height: 160px; border: 1px solid black; overflow-x: scroll;">
<svg height="1000" width="1000">
<line x1="20" y1="50" x2="100" y2="50" stroke="red" stroke-width="4" tooltip="Text" tooltip-append-to-body="true"></line>
<line x1="20" y1="100" x2="1000" y2="100" stroke="red" stroke-width="4" tooltip="Text" tooltip-append-to-body="true"></line>
</svg>
</div>
</body>
</html>
/* Put your css in here */