Fixed the direct attributes vs options issue in the directive
- first draft of the fix