From c0fb0df21fac7f162db75e7464aff5cff44fe613 Mon Sep 17 00:00:00 2001 From: Atef Ben Ali Date: Wed, 5 Apr 2017 15:04:14 +0100 Subject: [PATCH] format --- README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 10d3976..a0911e6 100644 --- a/README.md +++ b/README.md @@ -8,19 +8,19 @@ add ellipses when needed. ## How to use angular truncate -###Include the javascript file. +### Include the javascript file. ``` html ``` -###Inject the `truncate` filter into your app module. +### Inject the `truncate` filter into your app module. ```javascript var myApp = angular.module('myApp', ['truncate']); ``` -###When outputting text, apply the filter. +### When outputting text, apply the filter. ```html

{{ text | characters:25 }} or {{ text | words:5 }} @@ -32,4 +32,4 @@ By default, a _word_ will not be truncated. Set the optional boolean after the c

{{ text | characters:25 :true}}

- ``` \ No newline at end of file + ```