Angular filter, directive, and service to picturify image urls in a text.
npm install angular-picturify```
npm install angular-picturify --save
Inject module into your application
`javascript`
//require('angular.picturify'); for browserify/webpack
//or
//
angular.module('YourApp', ['picturify']);
Use as a AngularJS Filter
`html`
Use as a AngularJS Directive
`html
Inject as a AngularJS Service
`javascript
// Injected into controller
angular.module('someModule').controller('SomeCtrl', function ($scope, picturify) {
var text = "https://angularjs.org/img/AngularJS-large.png"; $scope.text = picturify.filter(text));
// outputs: 
});
`Note
* The first parameter sets the target. Defaults to '_blank'.
The second sets the class/width.
* The third sets the max amount of images to be rendered. Defaults to 0, which renders all images.*The disambiguation lies on a simple 'string or number' verification
Build
`
npm install && npm run webpack
``