dotansimha / angularjs-dropdown-multiselect

AngularJS Dropdown Multiselect
http://dotansimha.github.io/angularjs-dropdown-multiselect/
MIT License
441 stars 455 forks source link

Document how to register the directive #437

Closed ORESoftware closed 6 years ago

ORESoftware commented 6 years ago

How do we register the directive here:

angular.module('app', ['ui.router', 'ngAnimate', 'ngSanitize', 'ui.bootstrap', 'ngCsv', 'ngFlash']);

?

like this?

angular.module('app', ['ui.router', 'ngAnimate', 'ngSanitize', 'ui.bootstrap', 'ngCsv', 'ngFlash','ngDropdownMultiselect']);

This should be in the README right?

Makanz commented 6 years ago

You can see the name of the directive in point 3, in the installation description in readme. angular.module('app', ['angularjs-dropdown-multiselect']);

ORESoftware commented 6 years ago

yes, but using the code you just mentioned, would make it much clearer. also, it should be:

angular.module('app', ['ngDropdownMultiselect']);

perhaps you can create an alias in the codebase?