diff --git a/examples/routes/index.html b/examples/routes/index.html index 9b5b3946..21e0963b 100644 --- a/examples/routes/index.html +++ b/examples/routes/index.html @@ -5,7 +5,8 @@

Introduction

Welcome to the ng2-material examples site. Here's the test coverage report.

-

Compatible with: angular2@{{angularVersion}}.

+

Compatible with: angular2@{{angularVersion}}. +

There are instructions for getting started at the bottom.

diff --git a/examples/routes/index.ts b/examples/routes/index.ts index 41f1cc74..00874281 100644 --- a/examples/routes/index.ts +++ b/examples/routes/index.ts @@ -17,6 +17,7 @@ export class IndexPage implements OnInit { public components: IComponentMeta[] = []; public angularVersion: string = ''; + public linkTag: string = ''; constructor(private _components: ComponentsService, private _sidenav: SidenavService, @@ -29,6 +30,7 @@ export class IndexPage implements OnInit { this.http.get('public/version.json') .subscribe((res: Response) => { this.angularVersion = res.json().angular2; + this.linkTag = res.json().angular2.replace(/[>=^~]/g,''); });