Skip to content

Instantly share code, notes, and snippets.

@brunokrebs
Created February 24, 2016 11:40
Show Gist options
  • Save brunokrebs/1a89028fb6b3fc4134b3 to your computer and use it in GitHub Desktop.
Save brunokrebs/1a89028fb6b3fc4134b3 to your computer and use it in GitHub Desktop.
<html>
<body ng-app="testing-app">
<!-- our component main directive -->
<wysiwyg-edit content="testing-variable"></wysiwyg-edit>
<!-- angular files -->
<script src="//ajax.googleapis.com/ajax/libs/angularjs/1.2.17/angular.min.js"></script>
<script src="//ajax.googleapis.com/ajax/libs/angularjs/1.2.17/angular-sanitize.min.js"></script>
<!-- our concatenated, minified and uglified component -->
<script src="wysiwyg.min.js"></script>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment