Skip to content

ne3Vubeki/ngRender

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 

Repository files navigation

ngRender

Angular ngRender directive

Installing

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>

Usage

// 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>

Event

$nodesDOMRendered

Emitted every time the element(node) is rendered.

Overview

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.

Demo

Demo

Changelog

1.0.1

  • Added handling `ng-bind-html` and `ng-bind-template`

About

Directive for AngularJS event load elements inside ngView

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published