0

I'm using MdDataTable and I want to insert some html tag into mdt-cell. So I used html-content="true":

<mdt-cell html-content="true"><span class="btn btn-success">button</span></mdt-cell>

But I get this error:

[$rootScope:infdig] 10 $digest() iterations reached. Aborting! 

How can I solve it?

panagulis72
  • 2,129
  • 6
  • 31
  • 71
  • http://stackoverflow.com/questions/14376879/error-10-digest-iterations-reached-aborting-with-dynamic-sortby-predicate , check this out , maybe this helps you – Learner Jul 12 '16 at 07:47
  • uhm, they say to edit the model in the controller and not in the view, but I have to simply add html content inside mdt-cell and prevent it to be overwrited – panagulis72 Jul 12 '16 at 07:59
  • This error is always given when there is infinite recursion in ur code i think. – MMhunter Jul 12 '16 at 08:17
  • I think it is a bug of the component... is there a way to prevent it? – panagulis72 Jul 12 '16 at 08:18

0 Answers0