Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Angular filter, directive, and service to linkify text.

License

scottcorgan/angular-linkify

Repository files navigation

angular-linkify

Angular filter to linkify urls, "@" usernames, and hashtags.

Install

bower install angular-linkify --save

Usage

Inject module into your application

angular.module('YourApp', ['linkify']);

User as a normal AngularJS filter

<div ng-controller="SomeCtrl">
  <div ng-bind-html-unsave="someValue | linkify"></div> <!-- linkified!! -->
</div>

Todo

  • Options to exclude "@"ifies and hastags
  • Make as injectable service and/or directive

About

Angular filter, directive, and service to linkify text.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 7