Open firecentaur opened 9 years ago
I'm a little bit lost, can I see your template
folder/templates/folderVideoListDirective.html
I am having the same issue. Trying to use ngTasty in a directive and it complains that $scope.init is undefined. Were you ever able to figure this out, firecentaur?
Can you please show me the code you are using it.
Hey, Zizzamia. Thanks for the quick reply.
I needed server side pagination and I ended up going with another solution (ui-grid). Unfortunately, I rolled back the commits that contained the code I was using while experimenting with ng-tasty.
I realize how obnoxious it is that I can't supply the code anymore, because we are unable to completely rule out any superficial errors like syntax, improper injection, etc. I feel confident that I had all of my ducks in a row, but I understand the value of providing the actual source code for a problematic issue.
Though I have decided to go with a different solution for my immediate problem, I am very impressed with ng-tasty. Your examples are so clear and there isn't any noise. I was able to get everything set up very quickly except that I encountered this issue. I would love to figure it out what the problem was and have an answer here for anyone else who may encounter this situation.
My code was extremely simple, so I should be able to recreate the problem easily. If you are interested, I am happy to attempt to recreate the issue and post the source or a JSFiddle some time tomorrow, but the issue is resolved for me personally.
Happy to hear in the end you find a way to solve your problem :-) ui-grid
it's a great choice.
If you can recreate the bug, will be amazing for all the #ngTasty community :-) Thanks
hi there, I am using ngTasty in a directive, but the code is complaining that that $scope.init is undefined even though I have defined it:
Here is the directive gist: https://gist.github.com/anonymous/d2e7302cf4de0dd0d622 and here is the html that lists the directive: https://gist.github.com/anonymous/d9c2cf0df69a89c1a932