Coder Social home page Coder Social logo

angular-tolowercase's Introduction

angular-tolowercase

This angular-tolowercase is an Angular.js directive that lowercases all of its input so you don't have to.

Simply add the attribute to-lower-case on your input. The usage of ng-model is required.

See the demo here.

Project requirements

This project depends on Angular 1.x.

Usage

Installation

Install using Bower:

bower install angular-tolowercase

You can also install it manually by copying the to-lower-case.js file into your project.

Using in your project

Add the directive as a dependency to your app:

angular.module('myApp', ['td.tolowercase'])

Use on any input element like so—don't forget that you must use ng-model for this directive to work:

<input type="email" ng-model="emailAddress" to-lower-case />

angular-tolowercase's People

Contributors

tinacious avatar

Stargazers

 avatar

Watchers

 avatar  avatar

angular-tolowercase's Issues

Bower install not working

Hello,

I'm trying to update my project and toLowerCase was already installed on another computer, but when I try to update the dependencies on project I'm getting this error:

bower invalid-meta The "name" is recommended to be lowercase, can contain digits, dots, dashes bower toLowerCase#0.0.1 ENOTFOUND Package toLowerCase not found

Any thoughts on how can I update the dependencies without getting this error?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.