mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-03-13 04:00:21 +00:00
Moving back to ng-bind-html
This commit is contained in:
@@ -15,11 +15,3 @@ Darkswarm.directive "ofnModal", ($modal)->
|
||||
|
||||
elem.on "click", =>
|
||||
scope.modalInstance = $modal.open(controller: ctrl, template: contents, scope: scope.$parent)
|
||||
|
||||
# TODO THIS IS TERRIBLE PLEASE FIX NG-BIND-HTML
|
||||
Darkswarm.directive "injectHtml", ->
|
||||
restrict: 'A'
|
||||
scope:
|
||||
injectHtml: "="
|
||||
link: (scope, elem, attrs, ctrl)->
|
||||
elem.html(scope.injectHtml)
|
||||
|
||||
Reference in New Issue
Block a user