I'm new at Angular JS and I'm having some problems with it. I'm trying to use this module: http://ngmodules.org/modules/angular.treeview but it's not recognizing the Angular code. You can see my plunker here: http://plnkr.co/edit/xigaA37RieS70CwcK834?p=preview
I wish to know where is the error and I also have a question: if I want to use other modules/plugins and stuff like these, how should I code it? I mean, I would have another .js like:
(function(){
angular.module('myApp').controller('CONTROLLER_NAME', function($scope){
...
}
}
and I should retrieve it on app.js by doing:
var myApp = angular.module('myApp', ['angularTreeview','CONTROLLER_NAME']);
Tell me if I missed something..
Thanks in advance,
Lucas.
myApp
should only show up once inmodule('myApp')
then when add directive/controolers usemyApp.controler
. Reorganize demo, can use gitHub source for treeview script snd css. Put all the code in one place with script order corrected – charlietfl Nov 14 '13 at 13:16