dynamically destroying elements as they become invisible and recreating them if they become visible again
app.js
there I inject allways all Modules I needindex.html
loading ui.scroll and moreexport.controller.js
the Logic. As you can see its "nearly" like yours. Difference is I have to call the get()
function in $on.init()
otherwise its not called and I cant see the Error. Btw the Array is empty?export.html
my Html for output. Everything works except no Output of the Example Listsuccess
.ui-scroll
../../ui-scroll..
raw.github/...
cdn.rawgit/...
github.com/ui-scroll
@dhilt could you help me with one more question?
I'm not sure if it's possible to implement with ui-scroll.
Now I have a markup like:
<div id="some-grid">
<div id="frozen-column">
<div ng-repeat="item in items">{{ item.name }}</div>
</div>
<div id="scrollable-column">
<div ng-repeat"item in items">{{ item.description }}</div>
</div>
</div>
"frozen-column" scroll is hidden and it depends on "scrollable-column" scroll. I replaced ng-repeat with ui-scroll and it doesn't work any more. Did I make a mistake and it can work? Or isn't it possible to do this with ui-scroll?
$digest already in progress
error, in 1.6.1 the adapter is not initialized. 1.4.1 was working best so far, but there a have the problem that the List is sometimes empty although the datasource returned items.