Skip to content

Instantly share code, notes, and snippets.

Avatar

Vlatko Stojkovski grobarko

  • Amsterdam, Netherlands
View GitHub Profile
@grobarko
grobarko / embg.html
Last active Mar 9, 2020
AngularJS EMBG Custom Validator
View embg.html
<!-- EMBG field which is optional -->
<md-input-container>
<label>ЕМБГ</label>
<input ng-model="vm.embg"
mk-valid-embg
maxlength="13"
name="embg"
autocomplete="off">
<div ng-messages="form.embg.$error">
<div ng-message="embg">Внесете валиден ЕМБГ</div>