After you have downloaded and installed node-webkit,
create a directory on your hard-drive named myapp
.
Place all files of this gist inside the created directory:
- myapp/
- app.js
- index.html
- package.json
Open your terminal and cd
to myapp
.
Run node-webkit
as explained on the node-webkit wiki.
i have a htm5 navigation in angularjs.
$locationProvider.html5Mode(true);
$routeProvider
.when("/te/:theme/:element", {action: "test"})
.otherwise({action: "default"});
but when using it is very strange app://te/te/theme/element. I dont know why there is another /te in request?