Update angular-validator.js

Make it compatible with bootstrap 2 series.