I want to develop html5 SPA application for a thin client. There is no way to launch any web server on it. And I can\'t to make routing works without web server.
My
After a while, I made it works.
At first, I moved this piece into separate file
- {{number}}
Secondly, in index.html
I've added this div
It is used as a view placeholder.
Now index.html
is used as "master page" or "layout" if you are familiar with asp.net. When you clicking at the link, content of the templateUrl file is inserting into placeholder div.
A drawback of this is that url should looks like this