An open API service indexing awesome lists of open source software.

https://github.com/hanford/angular-maxlength

Small directive for _really_ enforcing maxlength
https://github.com/hanford/angular-maxlength

Last synced: 22 days ago
JSON representation

Small directive for _really_ enforcing maxlength

Awesome Lists containing this project

README

        

## angular-maxlength

[![NPM][dl-icon]][dl-url]

#### Installation
Installation is super easy, simply add the dependency to your build and add to your your input

```
# use npm
$ npm install angular-maxlength
```

Add angular-maxlength to your dependencies

```
angular
.module('yourApp', ['ngMaxLength'])
.controller('SampleController', function () {})
```

Finally in your template you can add

``````

[dl-icon]: https://nodei.co/npm/angular-maxlength.png?downloads=true
[dl-url]: https://npmjs.org/package/angular-maxlength