1.2.2 • Published 9 years ago
angular-bind-html-compile-ci-dev v1.2.2
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
.jshintrcandjscsrc. Automated travis tests will fail if these are not adhered to.
Releasing a new version
- Commit your changes.
- Follow the guidelines at http://semver.org/ to determine your new version number.
- Update
CHANGELOG.mdwith your new version number and a description of changes. - Update the
versionproperty inbower.jsonandpackage.json - Commit those changes with the commit message "Bump to version number". version number should be in the format x.y.z.
git tag [version number]git pushgit push --tags- must be done separately.