Minify Angular Js
How to minify the code written in angular js. Are there any online tools?
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Ketan MokariyaRank #1,793 · 832 reputationPosted Mar 6, 2019, 11:38 PM EST
Sanwar RanwaRank #23 · 44.7K reputationPosted Mar 6, 2019, 11:43 PM EST
Madan ShekarRank #428 · 5.9K reputationPosted Mar 6, 2019, 11:43 PM EST
Praveen KumarRank #395 · 6.4K reputationPosted Mar 6, 2019, 11:50 PM EST
So to get rid from minification issue, you need to inject your own services or AngularJs services in following way.
.controller("HomeController",function($scope, $http, myService){
});
Vivek KumarRank #272 · 9.3K reputationPosted Mar 7, 2019, 8:34 AM EST