Software Archive
Read-only legacy content
17061 Discussions

Ionic Framework ionic.bundle.min.js too cumbersome

Christopher_H_7
Beginner
638 Views

Hello everyone,

I am tring to create an app using AngularJS and the Ionic framework and I noticed that quite a few Angular files have been minimized into a single file. 

 

 * ionic.bundle.js is a concatenation of:
 * ionic.js, angular.js, angular-animate.js,
 * angular-ui-router.js, and ionic-angular.js

 

Could this be changed in the future so we can get seperate files in their minimized and non-minimized versions ? This could help us greatly in the development process and it should allow us to replace Angular files as needed when better versions come along.

 

Including a newer version of AngularJs causes the following message and I don't know if that could cause problems in the future.

WARNING: Tried to load angular more than once. 

 

Thanks a bunch,

Chris

 

 

0 Kudos
3 Replies
PaulF_IntelCorp
Employee
638 Views

Hi Chris, forwarding your request to the appropriate engineer. Paul

0 Kudos
Chris_P_Intel
Employee
638 Views

ionic.bundle.js  comes with Angular bound into it. That's how it is distributed from the Ionic folk.

It is possible to replace that inclusion with your own inclusions, but whenever you add an Ionic component to your page App Designer is going to dutifully make sure that ionic.bundle.js is included.   IMO, I would just let leave things as they are while you are actively using the Design tool.

 

 

0 Kudos
Christopher_H_7
Beginner
638 Views

Chris,

Thanks for your response. I was able to grab the latest version of their minimized and unminimized files from their Github page (https://github.com/driftyco/ionic). This helped me fixed a problem with the beta version that was bundled with Intel XDK.

Regards,

Chris

 

 

 

0 Kudos
Reply