Patch 1

Filter generator crashes. Wrong url for the filter template (was calling filter.js.js). Fixed it with the help of the directive generator