Better approach to handle time for preview layers in catalog
Add a directive controller to avoid using 'this'
Merge pull request #1117 from geoadmin/dev_time_preview

Better approach to handle time for preview layers in catalog