Load folder

Posted in General by micha zana Sun Oct 11 2015 14:47:05 GMT+0000 (Coordinated Universal Time)·1·Viewed 2,093 times

With my router, how can I load a folder, with all its inner files? something like: return $ocLazyLoad.load('js/myFolder/');
Oct 11, 2015

There's no way to do it from the js since the navigator has no way to know what's in a folder on the server side...
You could make a webservice (server side) that returns the content of your folder, and call this then pass the result to ocLazyLoad.

marked this as solved
Markdown is allowed