Giter Club home page Giter Club logo

ng-lodash's Introduction

Built with Grunt Build Status devDependency Status

ng-lodash

This is a wrapper for the utility library Lo-Dash for Angular JS. One aim for this project is to ensure Lo-Dash doesn't have to be left on the window, and we use Lo-Dash with Angular, in the normal dependency injection manner.

Installing

Install via bower

bower install ng-lodash

Require it into your application (after Angular)

<script src="ng-lodash.min.js"></script>

Add the module as a dependency to your app

var app = angular.module('yourAwesomeApp', ['ngLodash']);

And inject it into your controller like so!

var YourCtrl = app.controller('yourController', function($scope, lodash) {
  lodash.assign({ 'a': 1 }, { 'b': 2 }, { 'c': 3 });
});

Developing

To help us develop this module, we are using Grunt some tasks that may be helpful for you to know about are:

Testing

This command will run JSHint and JSCS testing JS Files (note files within build) are not tested, it will also run your local build of the module with all of the Karma tests:

grunt test it can also be run by using npm test

Build

This command will build the module, run it through ngMin and then create a minified version of the module, ready for distribution:

grunt build

Dist

This command will build the module initially and then run the test suite. Testing with JSHint, JSCS and Karma:

grunt dist

ng-lodash's People

Contributors

nwhite89 avatar jedrichards avatar jgermade avatar jonman avatar txels avatar facundfortuny avatar noherczeg avatar

Watchers

Leandro Pereira avatar James Cloos avatar  avatar

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.