Load folder

Solved!
Posted in General by micha zana Sun Oct 11 2015 14:47:05 GMT+0000 (UTC)·1·Viewed 1,279 times

With my router, how can I load a folder, with all its inner files? something like: return $ocLazyLoad.load('js/myFolder/');
Olivier Combe
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.


Olivier Combe marked this as solved
Markdown is allowed