This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* AngularJS service to validate spanish document id. | |
* Returns the type of document and checks its validity. | |
* | |
* Usage: | |
* angular | |
* .module('myApp', [ 'validate-spanish-id' ]) | |
* .controller('myController', function(ValidateSpanishID){ | |
* ValidateSpanishID.validate( str ); | |
* }) |