<ul>
    <li ng-if="!!prev">
        <a ui-sref="{{step}}({ stepId: prev })">Previous</a>
    </li>
    <li ng-if="!prev"><a ui-sref="{{start}}">Previous</a></li>
    <li ng-if="!!next">
        <a ui-sref="{{step}}({{getNext()}})">Next</a>
    </li>
    <li ng-if="!next"><a ui-sref="{{finish}}">Next</a></li>
</ul>

<ul>
    <li ng-if="!!prev">
        <a ui-sref="{{step}}({{getPrev()}})">Previous</a>
    </li>
    <li ng-if="!prev"><a ui-sref="{{start}}">Previous</a></li>
    <li ng-if="!!next">
        <a ui-sref="{{step}}({{getNext()}})">Next</a>
    </li>
    <li ng-if="!next"><a ui-sref="{{finish}}">Next</a></li>
</ul>

Fix prev link in Directive
Fix prev link in Directive
