test/src/sample-files/bar.component.ts
providers |
BarService
|
selector | app-bar |
templateUrl | bar.template.html |
normalMethod |
Return type:
void foo method |
import { Component } from '@angular/core';
import { BarService } from './bar.service';
@Component({
selector: 'app-bar',
templateUrl: `bar.template.html`,
providers: [BarService]
})
export class BarComponent {
/**
* foo method
*/
normalMethod() {}
/**
* bar method
* @internal
*/
internalMethod() {}
/**
* @hidden
*/
hiddenMethod() {}
/**
* @private
*/
privateCommentMethod() {}
private privateMethod() {}
}