Floating label directive for AngularJs
npm install angular-floating-label



angular-floating-label
======================
Angular directive creating a "floating label" for inputs with a placeholder. Based on: https://github.com/jverdi/JVFloatLabeledTextField and https://github.com/maman/JVFloat.js
Add components to your angular dependencies and then just add floating-label as an attribute on your input fields.
floating-label requires a placeholder attribute, which will be used as label.
Optionally you can specify an ng-model, if you don't specify it, you are required to add the id or the name attribute.
More examples in the example folder