Handling html tags when truncation happens in the middle of it
Hello there.
I seem to have issues when traying to truncate some html strings
I get:
TypeError: undefined is not a function at Cutter.applyTo (http://localhost:3012/js/vendor/cutter.js:156:37) at Function.Cutter.run (http://localhost:3012/js/vendor/cutter.js:536:11) at http://localhost:3012/js/controllers/MapController.js:136:29 at http://localhost:3012/js/services/MapService.js:18:4 at wrappedCallback (http://localhost:3012/js/vendor/angular.js:11520:81) at wrappedCallback (http://localhost:3012/js/vendor/angular.js:11520:81) at http://localhost:3012/js/vendor/angular.js:11606:26 at Scope.$eval (http://localhost:3012/js/vendor/angular.js:12632:28) at Scope.$digest (http://localhost:3012/js/vendor/angular.js:12444:31) at Scope.$apply (http://localhost:3012/js/vendor/angular.js:12736:24)
You can see the plunkr here: http://plnkr.co/edit/w6L01W0DX7UqqtojReXv
Can you please explain what is going on? I would really like to have this working.. :)