Angularjs event when page is fully compiled? -
i need fire function phone call when directives in document rendered , compiled. phone call has outside of directives, has directives' scopes.
some code:
<body *here want event such onload(somefunc) happens after angular's rendering,not html's*> <directive1> <directiv1.1></directive1.1> </directive1> <directive2></directive2> </body>
is there way grab such event?
maybe seek using $viewcontentloaded
event
emitted every time ngview content reloaded.
as per documentation: see doc
another interesting article on this: article
angularjs
No comments:
Post a Comment