linky (filter in module ngSanitize )

Improve this doc

Description

Finds links in text input and turns them into html links. Supports http/https/ftp/mailto and plain email address links.

Usage

In HTML Template Binding

<span ng-bind-html="linky_expression | linky"></span>

In JavaScript

$filter('linky')(text)

Parameters

Returns

{string}

Html-linkified text.

Example

Source







Demo