2015-11-02 03:28:38 -05:00
|
|
|
// #docregion
|
2016-04-27 14:28:22 -04:00
|
|
|
import {Component} from '@angular/core';
|
2015-12-13 01:01:46 -05:00
|
|
|
import {ExponentialStrengthPipe} from './exponential-strength.pipe';
|
2015-11-02 03:28:38 -05:00
|
|
|
|
2015-12-13 01:01:46 -05:00
|
|
|
@Component({
|
2015-11-02 03:28:38 -05:00
|
|
|
selector: 'power-booster',
|
|
|
|
template: `
|
|
|
|
<h2>Power Booster</h2>
|
|
|
|
<p>
|
|
|
|
Super power boost: {{2 | exponentialStrength: 10}}
|
|
|
|
</p>
|
|
|
|
`,
|
|
|
|
pipes: [ExponentialStrengthPipe]
|
|
|
|
})
|
|
|
|
export class PowerBooster { }
|