0

I need to use form tags in ng-bind-html? The ng-bind-html is not binding form tags(form, input). Please provide solution to bind form tags.

Toseef Khilji
  • 17,192
  • 12
  • 80
  • 121
Saidh
  • 1,131
  • 1
  • 12
  • 21

1 Answers1

1

ng-bind-html doesn't work fine with Form elements. However you can achieve it by either creating a separate directive to compile the given HTML or by using $templateCache.

http://plnkr.co/edit/UbEUmJ?p=preview

SelftaughtMonk
  • 987
  • 8
  • 18