0
        {
            author_signature: 'What is beauty if the brain is empty.',
            date_created: '2016-12-01 (16:15)',
            content: '<p>Potenti elit lectus augue eget iaculis vitae</p>',
        },

Could you please help me convert "content" into a html code when angular passed it to the view...

Currently, it returns

<div>" <p>Potenti elit lectus augue eget iaculis vitae</p> "</div>

Thanks :D

  • I'm not particularily versed in Angular, though from JS in general I'm assuming not escaping those spaces of yours is allowing the browser to interpret your elements as a text node, instead of parsing them. – Joshua Feb 01 '17 at 07:56
  • What does your template and controller look like? – Daniel Humfleet Feb 01 '17 at 08:04

0 Answers0