Skip to content
This repository has been archived by the owner on Aug 11, 2022. It is now read-only.

How to activate new modules in it #114

Open
donadoniman opened this issue Feb 7, 2018 · 1 comment
Open

How to activate new modules in it #114

donadoniman opened this issue Feb 7, 2018 · 1 comment

Comments

@donadoniman
Copy link

may i know how can i enable select2 or datetimepicker on this project

may i know the steps to add new modules from bower_components

Thanks for your support

@carabationut
Copy link

Hi, donadoniman

I added today to the project I am building based on this project the modules ngSanitize, rangy and textAngular successfully. What do you need to do, is to add your modules by the terminal, but be careful for the angular version as ngSanitize got me some trouble at first because the project has the 1.5.x version and the ngSanitize was looking for 1.6.9.

And again, look for the dependencies that each new module needs and install them by bower. After you successfully added the modules to bower, just add them to your components in index.module.js like me:

angular.module('app.components', [ 'ui.router', 'angular-loading-bar', 'restangular', 'ngStorage', 'satellizer', 'ui.bootstrap', 'chart.js', 'mm.acl', 'datatables', 'datatables.bootstrap', 'checklist-model', 'ngSanitize', 'textAngular' ])

Hope this helps. I will come back later for datetimepicker for sure, but not at this moment. If you could and finally solve this, can you share it with us on how did you do it with datetimepicker?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants