close

  menu      DavidRodenas
CONTACT  

drpx-bind-angular

Bind and compiles angular templates to DOM elements.


<span drpx-bind-angular="$ctrl.additionalTemplate"></span>

Overview

This is a simple AngularJS directive that in addition to bind a template like ngBindTemplate it also compiles its content.

It allows to create highly flexible and configurable views.

Setup

Install the dependence with bower or npm:

$ npm install --save drpx-bind-angular

Include the javascript library in your application.

<script src="bower_components/drpx-bind-angular/drpx-bind-angular.js"></script>

Add the module to your module.

angular.module('yourModule', [ 'drpxBindAngular' ]);