<commit_before>import {bootstrap, QueryList} from 'angular2/angular2'
import {Component, Directive, onInit} from 'angular2/src/core/annotations_impl/annotations';
import {View} from 'angular2/src/core/annotations_impl/view';

import {Nav, NavPush, NavPop, NavParams, Routable, Router, NavController, NavbarTemplate, Navbar, NavPush, Content} from 'ionic/ionic';

import {SecondPage} from './pages/second-page'

@Component({
  selector: 'ion-view',
  lifecycle: [onInit]
})
@View({
  template: '' +
    '<ion-navbar *navbar>' +
      '<ion-title>First Page: {{ val }}</ion-title>' +
      '<ion-nav-items primary>' +
        '<button class="button">P1</button>' +
      '</ion-nav-items>' +
      '<ion-nav-items secondary>' +
        '<button class="button">S1</button>' +
        '<button class="button">S2</button>' +
      '</ion-nav-items>' +
    '</ion-navbar>' +
    '<ion-content class="padding">' +
      '<p>First Page: {{ val }}</p>' +
      '<p><button class="button" (click)="push()">Push (Go to 2nd)</button></p>' +
      '<p><button class="button" [push-data]="pushData" [nav-push]="pushPage">Push w/ nav-push (Go to 2nd)</button></p>' +
      '<icon class="ion-ios-arrow-back"></icon>' +
      '<f></f><f></f><f></f><f></f><f></f><f></f><f></f><f></f><f></f><f></f>' +
      '<f></f><f></f><f></f><f></f><f></f><f></f><f></f><f></f><f></f><f></f>' +
    '</ion-content>',
  directives: [NavbarTemplate, Navbar, NavPush, Content]
})
export default class FirstPage {
  constructor(
    nav: NavController
  ) {

    // TODO: Shouldn't have to do this
    Router.setNavController(nav);

    this.nav = nav;
    this.val = Math.round(Math.random() * 8999) + 1000;

<commit_msg>Added icon to nav test<commit_after>import {bootstrap, QueryList} from 'angular2/angular2'
import {Component, Directive, onInit} from 'angular2/src/core/annotations_impl/annotations';
import {View} from 'angular2/src/core/annotations_impl/view';

import {Button, Nav, NavPush, NavPop, NavParams, Routable, Router, NavController, NavbarTemplate, Navbar, NavPush, Content} from 'ionic/ionic';

import {SecondPage} from './pages/second-page'

@Component({
  selector: 'ion-view',
  lifecycle: [onInit]
})
@View({
  template: '' +
    '<ion-navbar *navbar>' +
      '<ion-title>First Page: {{ val }}</ion-title>' +
      '<ion-nav-items primary>' +
        '<button class="button">P1</button>' +
      '</ion-nav-items>' +
      '<ion-nav-items secondary>' +
        '<button class="button">S1</button>' +
        '<button icon><i class="icon ion-navicon"></i></button>' +
      '</ion-nav-items>' +
    '</ion-navbar>' +
    '<ion-content class="padding">' +
      '<p>First Page: {{ val }}</p>' +
      '<p><button class="button" (click)="push()">Push (Go to 2nd)</button></p>' +
      '<p><button class="button" [push-data]="pushData" [nav-push]="pushPage">Push w/ nav-push (Go to 2nd)</button></p>' +
      '<icon class="ion-ios-arrow-back"></icon>' +
      '<f></f><f></f><f></f><f></f><f></f><f></f><f></f><f></f><f></f><f></f>' +
      '<f></f><f></f><f></f><f></f><f></f><f></f><f></f><f></f><f></f><f></f>' +
    '</ion-content>',
  directives: [Button, NavbarTemplate, Navbar, NavPush, Content]
})
export default class FirstPage {
  constructor(
    nav: NavController
  ) {

    // TODO: Shouldn't have to do this
    Router.setNavController(nav);

    this.nav = nav;
    this.val = Math.round(Math.random() * 8999) + 1000;


{'fraction_non_alphanumeric': 0.23969599532300498, 'fraction_numerical': 0.00964630225080386, 'mean_word_length': 3.65578231292517, 'pattern_counts': {'":': 0, '<': 141, '<?xml version=': 0, '>': 141, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1200930', 'n_tokens_mistral': 1231, 'n_tokens_neox': 1227, 'n_words': 228}