File tree Expand file tree Collapse file tree 2 files changed +5
-3
lines changed
Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change 11# Changelog
22
3+ ## 3 July 2016
4+
5+ - Use html5mode instead of hash navigation.
6+
37## 24 June 2016
48
59- Be able to import Component's templates and styles without using require.
Original file line number Diff line number Diff line change 11import { enableProdMode } from '@angular/core' ;
22import { bootstrap } from '@angular/platform-browser-dynamic' ;
3- import { HashLocationStrategy , LocationStrategy } from '@angular/common' ;
43import { HTTP_PROVIDERS } from '@angular/http' ;
54
65import { AppComponent } from './app/app.component' ;
@@ -14,7 +13,6 @@ if (process.env.ENV === 'build') {
1413bootstrap ( AppComponent , [
1514 // These are dependencies of our App
1615 HTTP_PROVIDERS ,
17- APP_ROUTER_PROVIDERS ,
18- { provide : LocationStrategy , useClass : HashLocationStrategy } // use #/ routes, remove this for HTML5 mode
16+ APP_ROUTER_PROVIDERS
1917 ] )
2018 . catch ( err => console . error ( err ) ) ;
You can’t perform that action at this time.
0 commit comments