Parsing html tags through angular js
Here is an easy way of parsing html from database in angular js. Download ng-htmlCompiler.js from Github : https://github.com/rroxysam/ng-htmlCompiler. Include ng-htmlCompiler.js file in your layout & then u se ng-htmlCompiler in your angular module as : angular.module('app_name',['ng-htmlCompiler']); And then in your view template use compile directive in your html element given below. compile = "your-data-variable" This directive will work well in single element & also with angular ng-repeat. For Demo visit :- https://plnkr.co/edit/leooiVyTKC9m6eR8cqPN?p=preview