Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

ng-lodash

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ng-lodash

An Angular module wrapper for lodash

  • 0.2.3
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
619
increased by3%
Maintainers
1
Weekly downloads
 
Created
Source

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 depenedency 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

Keywords

FAQs

Package last updated on 03 Jul 2015

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc