Support angularjs > 1.3.0 version and fix bug (don't use validator name start with $)