Hi,

What should I do to add a bower component to my app? I have tried this 
steps:

1) bower install angularjs-dropdown-tree --save

2) then I tried to add it as a dependency of my app:

angular.module(
    'myApp',
    [
        'myFirstDependency',
        'AngularjsDropdownTree'
    ]
).config(...


However, when I try to call the app, the following error is reported:

Uncaught Error: [$injector:modulerr] Failed to instantiate module auditApp due 
to:

Error: [$injector:modulerr] Failed to instantiate module AppPagesModule due to:
Error: [$injector:modulerr] Failed to instantiate module AuditDropDownTree due 
to:
Error: [$injector:nomod] Module 'AuditDropDownTree' is not available! You 
either misspelled the module name or forgot to load it. If registering a module 
ensure that you specify the dependencies as the second argument.



What am I doing wrong?


Thanks in advance


Sergio.

-- 
You received this message because you are subscribed to the Google Groups 
"Angular and AngularJS discussion" 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 https://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.

Reply via email to