Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

angular-slugifier

alexandernst45MIT0.0.6

AngularJS bindings for the wonderful speakingurl library

angular, slug, speakingurl, url

readme

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, {});
  });

`

changelog

v0.0.6

  • "Main" in package.json can't be an array

v0.0.5

  • Relax package.json semver requires

v0.0.4

  • Fix malformed bower.json

v0.0.3

  • Cleanup.

v0.0.2

  • Rename repo.

v0.0.1

  • First release.