docs: add api stability indicators for @angular/common

This commit is contained in:
Igor Minar
2016-05-27 11:24:05 -07:00
parent 1c929031a2
commit 7bc2d9a93a
48 changed files with 128 additions and 24 deletions

View File

@ -58,10 +58,11 @@ import {InvalidPipeArgumentException} from './invalid_pipe_argument_exception';
* ## String Examples
*
* {@example core/pipes/ts/slice_pipe/slice_pipe_example.ts region='SlicePipe_string'}
*
* @stable
*/
@Pipe({name: 'slice', pure: false})
@Injectable()
export class SlicePipe implements PipeTransform {
transform(value: any, start: number, end: number = null): any {
if (isBlank(value)) return value;