Skip to content
This repository was archived by the owner on Apr 13, 2024. It is now read-only.
This repository was archived by the owner on Apr 13, 2024. It is now read-only.

Directions won't work with html #18

@r3wt

Description

@r3wt

Fix

  1. inject $sce into controller
  2. iterate items applying $sce.trustAsHtml to each string
  3. use this syntax in view:
<div ng-controller="MyController">
    <div owl-carousel="items">
        <div class="item" ng-bind-html="item"></div>
    </div>
</div>

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions