Enable Attribute for directive

add supporting to use attribute beside element for directive
Update Samples

Add sample for using with attribute
Merge pull request #7 from MBehtemam/master

Add supporting for attribute for directive