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

angular-slugifier

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

angular-slugifier

AngularJS bindings for the wonderful speakingurl library

  • 0.0.6
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
0
Maintainers
1
Weekly downloads
 
Created
Source

angular-slugifier

AngularJS bindings for the wonderful SpeakingURL library

How do I add this to my project?

You can download angular-slugifier by:

  • Using bower and running bower install angular-slugifier
  • Using npm and running npm install angular-slugifier
  • Downloading it manually from this repo

How to use angular-slugifier

This module exposes a $speakingurl service that can be used in the code, and a angular-slugifier filter that can be used in templates directly:

MyAngularModule = (function () {
  var myModule = angular.module('my.module', ['angular-slugifier']);

  myModule.controller('MyController', function ($scope, $speakingurl, model) {
    $scope.model   = model;
    $scope urlSlug = $speakingurl.slugify(model.name, {});
  });
<ul>
  <li ng-repeat="user in users">
    <a href="/user/{{ user.fullName | slugify }}" ng-bind="user.fullName"></a>
  </li>
</ul>

Keywords

FAQs

Package last updated on 29 May 2016

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