6
I need to develop an offline app where it will be accessed directly from the HTML file, as far as I know Angular needs the HTTP protocol to perform the routes yet.
Ex.: The URL will look like this file://angular-project/index.html/#/lista
instead of http://localhost/angular-project/#/lista
I need it to work with the file://
Yes with Application Cache works, but the problem is that the user will not access the application over the internet it will be distributed from the USB stick, so it will not have HTTP connection, will be accessed directly from the HTML file
– Nicolas Pio
I wouldn’t recommend this template for two reasons: Under various circumstances browsers consider local content to be 'unsafe', forcing you to download the security requirements for your code to run. Second, the resolution of permissions and partial names occurs differently in different browsers. Tip: Distribute with a portable web service such as Z-WAMP (http://zwamp.sourceforge.net/).
– OnoSendai