dynamic-bind-html
Advanced tools
Comparing version 1.0.0 to 1.0.1
/*! | ||
* dynamic-bind-html | ||
* | ||
* Version: 1.0.0 - 2016-06-25T01:01:51.534Z | ||
* Version: 1.0.0 - 2016-06-28T02:09:40.255Z | ||
* License: MIT | ||
@@ -6,0 +6,0 @@ */ |
/*! | ||
* dynamic-bind-html | ||
* | ||
* Version: 1.0.0 - 2016-06-25T01:01:51.534Z | ||
* Version: 1.0.0 - 2016-06-28T02:09:40.255Z | ||
* License: MIT | ||
*/ | ||
"use strict";angular.module("dynamicBindHtml",[]).directive("dynamicBindHtml",["$compile",function($compile){return{restrict:"A",replace:!0,link:function(scope,ele,attrs){var compileHtml=function(){ele.html(attrs.dynamicBindHtml),$compile(ele.contents())(scope)};compileHtml(),scope.$on("updateDynamicBindHtml",function(){compileHtml()})}}}]); |
{ | ||
"name": "dynamic-bind-html", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"description": "A replacement for ng-bind-html that compiles angular code, too.", | ||
@@ -5,0 +5,0 @@ "repository": "git@github.com:rachael/dynamic-bind-html.git", |
@@ -1,2 +0,2 @@ | ||
# dynamic-bind-html [![npm version](https://badge.fury.io/js/dynamic-bind-html.svg)](https://badge.fury.io/js/dynamic-bind-html) [![Build Status](https://travis-ci.org/rachael/dynamic-bind-html.svg?branch=master)](https://travis-ci.org/rachael/dynamic-bind-html) | ||
# dynamic-bind-html [![npm](https://img.shields.io/npm/v/dynamic-bind-html.svg?maxAge=2592000)](https://www.npmjs.com/package/dynamic-bind-html) [![CircleCI](https://img.shields.io/circleci/project/rachael/dynamic-bind-html.svg?maxAge=2592000)](https://circleci.com/gh/rachael/dynamic-bind-html) | ||
@@ -3,0 +3,0 @@ A directive inspired by `ng-bind-html` that accepts uncompiled angular code in addition to raw html. |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
30018
406