{% extends 'layout.html' %} {% block content %}
Gistfy is an easy way to create embeddable code snippets from your GitHub and Bitbucket repositories or your GitHub Gist.
<script type='text/javascript' src=''></script>
<div id="result"></div>
$.ajax({ type: 'GET', url: '' }) .done(function (data) { $('#result').html(data); });
<div ng-bind-html="result"></div>
$http({ method: 'GET', url: '' }) .success(function (data, status, headers, config) { $scope.result = $sce.trustAsHtml(data); });