ionic-framework
Version:
The ionic-framework package comes with both Javascript and Sass frontend dependencies, located in the root of the package, and a Node API, located in `tooling/`.
17 lines (14 loc) • 384 B
JavaScript
import {Directive} from 'angular2/core';
/*
Generated class for the <%= jsClassName %> directive.
See https://angular.io/docs/ts/latest/api/core/DirectiveMetadata-class.html
for more info on Angular 2 Directives.
*/
({
selector: '[<%= fileName %>]' // Attribute selector
})
export class <%= jsClassName %> {
constructor() {
console.log('Hello World');
}
}