added support for "required" attribute and ngRequired directive
Merge pull request #5 from TheYves/master

Added support for ngRequired directive and changed behaviour for "required"