Fix angular2 can't route the page after refresh
It's very easy to make a mistake on Angular2 router. After refresh the page, the page to be routed to can not load successfully. Chrome console tell me that browser failed to load css resources as the path of resources is incorrect.
The solution is that put the
<base href="/"/> directly under the title tag.