Files
ionic-framework/tooling/generators/component/component.tmpl.js
Alex Muramoto 97b57f1b53 Update docs and fix typos (#7776)
* docs(input): fix typo

* docs(scroll): add note about required CSS for scrollY

* docs(config): add swipeBackEnabled to config properties list

* docs(component generator): fix broken link in template comment

* docs(directive generator): fix broken link in template comment
2016-08-18 15:20:25 -04:00

18 lines
445 B
JavaScript

import { Component } from '@angular/core';
/*
Generated class for the <%= jsClassName %> component.
See https://angular.io/docs/ts/latest/api/core/index/ComponentMetadata-class.html
for more info on Angular 2 Components.
*/
@Component({
selector: '<%= fileName %>',
templateUrl: 'build/<%= directory %>/<%= fileName %>/<%= fileName %>.html'
})
export class <%= jsClassName %> {
constructor() {
this.text = 'Hello World';
}
}