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

angular-cressida

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

angular-cressida

Angular wrapper over cressida message generator library.

  • 0.2.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
0
Maintainers
1
Weekly downloads
 
Created
Source

Angular Cressida

Angular wrapper over cressida message generator library.

Since cressida is written for nodejs, so its quite pain in the ass to use it in browser applications yet alone within angular. So, angular-cressida serves this purpose.

Installation
 # with npm
 $ npm install --save angular-cressida
 
 # with bower
 $ bower install --save angular-cressida
Usage

Inject cressida module in your application and then in your controller:

 angular
    .module('my-app', ['cressida'])
    .controller('ctrl', function($cressida){
        $scope.message = $cressida.create(/* options */);
    })

and then in your view:

  <p>
    {{ message('first name', '!empty') }} 
  </p>
  
  <!-- first name should not be empty. -->

For more information on cressida, read its docs.

Keywords

FAQs

Package last updated on 23 Sep 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