<ul class="breadcrumb">
    <li ng-repeat="link in $root.breadcrumblinks" ng-class="{'active':$last}">
        <a href="#" ng-if="!$last">{{link}}</a>
        <span ng-if="$last">{{link}}</span>
    </li>
</ul>