Simplify usage (one directive only) and add attribute configuration