Hello, I think I don't understand something with directives that wrap a jQuery plugin, but I can't put my finger on it!
I'm creating a directive that uses jQuery "handsontable" plugin: http://handsontable.com/ It works fine when I use the element in my application like this: // controller $scope.cellsData = [['line 1]]; //html <handsontable data="cellsData"></handsontable> My problem is that I can't get "line 1" to appear in my test when checking resulting HTML through element.html(). Code: https://gist.github.com/notbenj/7aef6d5e86c7091c3830 The element seems to be compiled, but the content ("line 1") is not populated (yet??) when the test expectation runs. I hope the gist will be enough because I wanted to create a plunker, but I didn't know how to make it work using jasmine, and how to load jquery and handsontable libraries before bootstrapping angular. Any hint would be extremely appreciated! Thanks in advance. -- You received this message because you are subscribed to the Google Groups "AngularJS" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/angular. For more options, visit https://groups.google.com/d/optout.
