如何将不同的值传递给在页面上显示两次的同一视图?
致电观点:
<div class="view1" ui-view="view1"></div>
<div class="view1 with-options" ui-view="view1"></div>
在观点内:
<section class="views"
ng-init="views.init()">
<div class="view"
ng-repeat="view in views">
<w-view data="view1"></w-view>
</div>
和w-view:
<svg version="1.1"
xmlns="http://www.w3.org/2000/svg"
xmlns:xlink="http://www.w3.org/1999/xlink"
height="xx"
width="xx">
...
</svg>