btford/ngmin
View on GitHub ↗ ★ 854 JavaScript
**deprecated** AngularJS Pre-minifier –> use ng-annotate –>
9 mentions on Hacker News by 7 people: 0 stories, 9 comments · first 2013-07-24 · latest 2014-04-28
20082026
-
…value, but repetition with dependency injection is a solved problem if you use ngmin[1]. [1]: https://github.com/btford/ngmin
comment by bilalq · 2014-04-28 · in Classy: Cleaner class-based controllers for AngularJS -
…practice, you have to specify the dependencies > manually anyhow: In practice, everybody is using https://github.com/btford/ngmin and this is a non-issue.
comment by oinksoft · 2014-02-03 · in Demystifying AngularJS' dependency injection -
ngmin takes care of this issue for the most part: https://github.com/btford/ngmin
comment by mbell · 2014-02-02 · in Demystifying AngularJS' dependency injection -
…a compilation step. Since you mentioned Grunt, you'd probably want to just use grunt-ngmin[2]. [1] https://github.com/btford/ngmin [2] https://github.com/btford/grunt-ngmin
comment by joshuacc · 2014-01-27 · in Show HN: Beautify-with-words unminifies JS with unique words for variable names -
…the parameter name. This causes an issue when you minimize your code but ngmin solves that problem: https://github.com/btford/ngmin For example: angular.module('app').controller('someController', function ($scope, ModelService,…
comment by mbell · 2013-08-25 · in Converting an existing Backbone.js project to Require.js -
…problem transparently and is trivial to integrate into any existing build process. [1] https://github.com/btford/ngmin
comment by oinksoft · 2013-08-05 · in Some AngularJS pitfalls -
…[4] http://code.angularjs.org/1.1.5/docs/api/ng.directive:ngIf [5] https://github.com/btford/ngmin [6] https://github.com/btford/grunt-ngmin [7] http://docs.angularjs.org/api/ng.$rootScope.Scope#$watch [8] http://docs.angular
comment by greaterweb · 2013-08-05 · in Some AngularJS pitfalls -
Use ngmin, it converts into the ugly style. https://github.com/btford/ngmin There's also a grunt plugin. https://github.com/btford/grunt-ngmin
comment by likeclockwork · 2013-07-25 · in Ractive.js -
…the process of minification you can also fix these injections automatically, with a simple regex or https://github.com/btford/ngmin .
comment by rolandboon · 2013-07-24 · in Ractive.js