<span class="glyphicon glyphicon glyphicon-folder-open padR-5" ng-if="item.type == 'directory'"></span>
<span class="glyphicon glyphicon glyphicon glyphicon-file" ng-if="item.type == 'file'"></span>

<span ng-if="item.type !== 'file'">
    <a href="{{item.link}}">{{item.name}}</a>
</span>
<span ng-if="item.type == 'file'">
    <a class="no-link-link" ng-click="aux.getFile(item.link, item.name)" ng-if="!item.nodownload">{{item.name}}</a>
    <span ng-if="item.nodownload">{{item.name}}</span>
</span>
