angular-slugify

by paulsmith

paulsmith / angular-slugify

Provides "slugification" for AngularJS

202 Stars 71 Forks Last release: about 5 years ago (v1.0.1) MIT License 27 Commits 3 Releases

Available items

No Items, yet!

The developer of this repository has not created any items for sale yet. Need a bug fixed? Help with integration? A different license? Create a request here:

angular-slugify

Provides “slugification” for AngularJS in the form of a service, filter, and a directive.

What is a slug?

A slug is that final portion of a URL which is derived from some other piece of information, usually the title of a page.

For example, “Man Bites Dog” might produce the slug

man-bites-dog
for the URL:

http://example.com/2013/04/man-bites-dog.html

Demo

Click here for demo.

Usage

Include

angular-slugify.js
in your HTML document somewhere after you have set up AngularJS.

We use cookies. If you continue to browse the site, you agree to the use of cookies. For more information on our use of cookies please see our Privacy Policy.