Skip to content

Instantly share code, notes, and snippets.

@ova2
Created September 1, 2016 22:03
Show Gist options
  • Save ova2/757d0018ac20d0a4618456837a7b4deb to your computer and use it in GitHub Desktop.
Save ova2/757d0018ac20d0a4618456837a7b4deb to your computer and use it in GitHub Desktop.
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
</head>
<body ng-app="app">
<h1>Magical $parse service</h1>
<div ng-controller="ParseController as vm" ng-bind-html="vm.parsedMsg"></div>
<script src="https://code.angularjs.org/1.4.3/angular.js"></script>
<script src="https://code.angularjs.org/1.4.3/angular-sanitize.js"></script>
<script src="app.js"></script>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment