mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-19 19:57:22 +08:00
16 lines
427 B
JavaScript
16 lines
427 B
JavaScript
import {Component, NgIf} from 'angular2/angular2';
|
|
|
|
@Component({
|
|
directives: [NgIf],
|
|
properties: ['value'], //Change to be whatever properties you want, ex: <<%= fileAndClassName %> value="5">
|
|
selector: '<%= fileName %>',
|
|
templateUrl: 'app/<%= fileName %>/<%= fileName %>.html'
|
|
})
|
|
export class <%= jsClassName %> {
|
|
constructor() {
|
|
this.nav = nav;
|
|
this.popup = popup;
|
|
this.dataService = dataService;
|
|
}
|
|
}
|