added the directive for loadMore

This commit is contained in:
Mario Colque 2014-01-21 13:01:35 -03:00
parent c112b1c7e5
commit 038ab3c12a
2 changed files with 7 additions and 7 deletions

View File

@ -35,9 +35,9 @@
</div> <!-- END OF COL-MD-3 --> </div> <!-- END OF COL-MD-3 -->
<div class="col-md-9"> <div class="col-md-9">
<div data-ng-controller="transactionsController" data-ng-init="byAddress(params.addrStr)"> <div data-ng-controller="transactionsController" data-ng-init="load('address')">
<h2>Transactions <small>Transactions contained within this block</small></h2> <h2>Transactions <small>Transactions contained within this block</small></h2>
<div data-ng-include src="'/views/transaction/list.html'"></div> <div data-ng-include src="'/views/transaction/list.html'" when-scrolled="loadMore()"></div>
</div> </div>
</div> </div>
</div> <!-- END OF ROW --> </div> <!-- END OF ROW -->

View File

@ -84,9 +84,9 @@
</div> </div>
</div><!-- END OF ROW --> </div><!-- END OF ROW -->
<div data-ng-controller="transactionsController" data-ng-init="byBlock(params.blockHash)"> <div data-ng-controller="transactionsController" data-ng-init="load('block')">
<h2>Transactions <small >Transactions contained within this block</small></h2> <h2>Transactions <small >Transactions contained within this block</small></h2>
<div data-ng-include src="'/views/transaction/list.html'"></div> <div data-ng-include src="'/views/transaction/list.html'" when-scrolled="loadMore()"></div>
</div> </div>
</div> </div>
</div> </div>