Closed wiggitamoo closed 6 years ago
Adds timeout to directive: This provides the ability to append custom id's create in an ng-repeat.
When trying to reference a dynamic id of a widget
<li "ng-repeat="w in widgets"> <div id="widget-{{w.id}}"></div> </li>
i'm trying to bind the id to ps-container from within the same ng-repeat without success
<pageslide ps-container="widget-{{w.id}}"> <div> <p>some random content...</p> </div> </pageslide>
To solve this problem I am adding a $timeout to the directive so that the container id's get added after the dom has compiled.
Adds timeout to directive: This provides the ability to append custom id's create in an ng-repeat.
When trying to reference a dynamic id of a widget
i'm trying to bind the id to ps-container from within the same ng-repeat without success
To solve this problem I am adding a $timeout to the directive so that the container id's get added after the dom has compiled.