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

angular-urlify

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

Filter to create better seo urls and slugs with AngularJS based on Django Urlify

  • 1.0.1
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

angular-urlify

Filter to create better seo urls and slugs with angularjs based on Django Urlify https://github.com/django/django/blob/master/django/contrib/admin/static/admin/js/urlify.js

Usage

Import angular-urlify-filter.js your AngularJS project and add ngUrlify to your module as a dependency.

angular.module('myApp', ['ngUrlify']);

Then you can use the filter in your templates:

<p>Title: <input type="text" ng-model="title"></p>
<p>Urlized title: {{ title | urlify }}</p>

Also you can use it in your javascript code:

app.controller('TestController', ['urlifyFilter', function (urlify) {
    $scope.urlizedTitle = urlify('Your text');
}]);

Keywords

FAQs

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