I recently incorporated a plugin called angular-multi-select-tree from GitHub into my project. Here is how I added it:
First, I installed it via bower using the command
. This updated the bower.json file to include:bower install angular-multi-select-tree --save
"angular-multi-select-tree":"*"
Then, I added 'multi-select-tree' to index.js:
angular.module('xyzApp', ['multi-select-tree', '....']);
However, after running "Gulp serve," my webpage stopped working and I encountered the following error in the console:
Error: [$injector:modulerr] Failed to instantiate module multi-select-tree due to:
Error: [$injector:nomod] Module 'multi-select-tree' 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.
Can anyone help me fix this error? Or recommend another plugin with similar functionalities:
- Dropdown list
- Searchable drop-down list
- Multi-select functionality
- Grouping (View example https://i.sstatic.net/IMGXQ.jpg)