Files
2016-02-12 11:37:39 -06:00

27 lines
488 B
TypeScript

import {App} from '../../../../../ionic/ionic';
@App({
templateUrl: 'main.html'
})
class E2EApp {
constructor() {
this.groups = [];
var letters = "abcdefghijklmnopqrstuvwxyz".split('');
for(let i = 0; i < letters.length; i++) {
let group = [];
for(let j = 0; j < 10; j++) {
group.push({
title: letters[i] + j
});
}
this.groups.push({
title: letters[i].toUpperCase(),
items: group
});
}
}
}