Directive to broadcast when an element has been compiled and is ready
Switch branches/tags
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
spec
.gitignore
README.md
elementReady.js
package.json

README.md

ng-element-ready

Detect when an element is truly ready, e.g. it has finished being populated with fresh data.

Example

index.html

<div element-ready="data">{{ vm.data }}</div>

app.js

$scope.$on('data:ready', () => {
    // Do something
});