Angular ngRender directive
You can install the library via Bower:
bower install angular-render --save
Add a <script>
to your html:
<script src="bower_components/angular-render/angular-render.js"></script>
// add 'ngRender' as dependency to your module
var yourModule = angular.module("yourModule", ['ngRender']);
You can add the ng-render
directive in tags:
<div ng-render></div>
<div ng-render="someFunction()">...</div>
Added attribute ng-render-inside
for check elements inside subtree node:
<div ng-render ng-render-inside>...</div>
Emitted every time the element(node) is rendered.
This library defines the event closure rendering element. Inserted into the cell in the form of attribute ng-render
.
For ng-view
bypasses the whole subtree and sets the time attributes that are finished ng-render
deleted.
For ng-include
can set markers on all invested in this item ng-include
.
- Added handling `ng-bind-html` and `ng-bind-template`