Simple way to limit characters in ng-bind-html Angular JS

前端 未结 8 756
自闭症患者
自闭症患者 2021-01-13 02:15

I am trying to limit the characters i see on my angular js app. Currently i am using:

8条回答
  •  余生分开走
    2021-01-13 02:29

    integrate this link :

     
    

    check if you have sanitize here

    var adminApp = angular.module('adminApp', ['ngSanitize', ...,])
    

    in your html you macke this code :

提交回复
热议问题