More Nav WIP

This commit is contained in:
Max Lynch
2013-11-01 00:36:53 -05:00
parent ced8ac3dc1
commit 4b0a6ac7af
3 changed files with 11 additions and 4 deletions

View File

@ -73,6 +73,11 @@
.controller('CatsCtrl', function($scope, $compile, $element) {
console.log('Cats', $element);
var items = [];
for(var i = 0; i < 100; i++) {
items.push({});
}
$scope.items = items;
$scope.goNext = function() {
$scope.navController.pushFromTemplate('page.html');
};