ng-linkify
An AngularJS module for creating hyperlinks in text. Supports web links and email addresses with or without schemes.
Setup
Install with npm
npm install ng-linkify --save
Include dist/ng-linkify.min.js
in your AngularJS application.
Add linkify
dependency to your module
var myModule = angular;
Usage
Add linkify attribute to any element containing text you want to linkify. Nested elements text is also linkified.
Links such as www.npmjs.com/package/ng-linkify, https://github.com and cpt.james.kirk@starfleet.com are clickable! Nested links such as npmjs.com are clickable too
Inject linkify
service into controller
angular ;