New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

angular-bind-html-compile-ci-dev

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

angular-bind-html-compile-ci-dev

An npm version of angular-bind-html-compile.

  • 1.2.2
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
497
increased by44.9%
Maintainers
1
Weekly downloads
 
Created
Source

angular-bind-html-compile-ci-dev

Forked from angular-bind-html-compile, since it don't support access via npm, we forked it and put it on npm.

Original document

This repo contains a bower package that provides an angular directive which can be passed trusted html with angular template content to evaluate.

The bind-html-compile directive allows for HTML containing directives to be compiled.

You should only use this directive where the content is coming from a trusted source.

Install

  • npm install angular-bind-html-compile-ci-dev

Add dependency to your app module

  • 'angular-bind-html-compile'

Usage

ng-bind-html:

<div ng-bind-html="data.content"></div>

If the data.content contained a directive, it would not be compiled.

bind-html-compile:

<div bind-html-compile="data.content"></div>

Development

  • Contributions welcome - Create an issue to discuss proposed changes and additions
  • All contributions should be done in branches and submitted as pull requests.
  • Code style follows the jsHint and jscs rules in .jshintrc and jscsrc. Automated travis tests will fail if these are not adhered to.

Releasing a new version

  1. Commit your changes.
  2. Follow the guidelines at http://semver.org/ to determine your new version number.
  3. Update CHANGELOG.md with your new version number and a description of changes.
  4. Update the version property in bower.json and package.json
  5. Commit those changes with the commit message "Bump to [version number]". [version number] should be in the format x.y.z.
  6. git tag [version number]
  7. git push
  8. git push --tags - must be done separately.

FAQs

Package last updated on 11 Aug 2016

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc