This is the working version

But without the directive which was working before