Better nav click throttling

This commit is contained in:
Max Lynch
2013-11-12 00:12:25 -06:00
parent 0f4482a2f0
commit 1627c242c4
2 changed files with 22 additions and 6 deletions

View File

@ -74,7 +74,13 @@
})
.controller('CatsCtrl', function($scope, $compile, $element) {
console.log('Cats', $element);
$scope.$on('navContent.shown', function() {
console.log('SHOWN');
});
$scope.$on('navContent.hidden', function() {
console.log('HIDDEN');
});
var items = [];
for(var i = 0; i < 100; i++) {
items.push({});