Included name property in the directive (credits to perryg)