chore: convert hash_location_strategy example to a tested spec

This commit is contained in:
Jesús Rodríguez
2016-08-31 02:02:40 +02:00
committed by Victor Berchet
parent 7383e4a801
commit 98936fdf16
2 changed files with 35 additions and 12 deletions

View File

@ -27,18 +27,8 @@ import {LocationChangeListener, PlatformLocation} from './platform_location';
*
* ### Example
*
* ```
* import {Component, NgModule} from '@angular/core';
* import {
* LocationStrategy,
* HashLocationStrategy
* } from '@angular/common';
*
* @NgModule({
* providers: [{provide: LocationStrategy, useClass: HashLocationStrategy}]
* })
* class AppModule {}
* ```
* {@example common/location/ts/hash_location_strategy/hash_location_strategy_spec.ts
* region='hash_location_strategy'}
*
* @stable
*/