Add custom directive
Update index page to use custom directive