We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
For example, I've been using angular bootstrap ui. Here is my controller,
angular.module('myApp').controller('HomeCtrl', function($scope, $modal) { // My inner controller var ModalCtrl = function($scope, $modalInstance, event) { .... }); $modal.open({ .... controller : ModalCtrl }); });
Now when i use grunt to minify this piece of code, its not able to add annotation injection for the inner controller.
The text was updated successfully, but these errors were encountered:
I think I have the same problem but in a more general way. I mean, I have this piece of code:
(function () { 'use strict'; app.controller('MainCtrl', function (SelectedFacets, cookieStore, $modal, SETTINGS, Document, Navigation, Search, ViewConfiguration, $timeout, $rootScope, $scope, $routeParams, $window, $location, $filter) { }; })();
And it does not get ngminified. I think it worked before I add the closures.
ngmin
Sorry, something went wrong.
ngmin issues that works in ng-annotate by adding an explicit /* @ngIn…
7a14327
…ject */: btford/ngmin#84, btford/ngmin#83, btford/ngmin#81, btford/ngmin#79, btford/ngmin#69, btford/ngmin#65
Please try https://github.com/olov/ng-annotate. ngmin is now deprecated: #93
If your issue isn't resolved there please open an issue at https://github.com/olov/ng-annotate/issues
If you really want ngmin to fix this issue, feel free to fork it and use that.
No branches or pull requests
For example, I've been using angular bootstrap ui. Here is my controller,
Now when i use grunt to minify this piece of code, its not able to add annotation injection for the inner controller.
The text was updated successfully, but these errors were encountered: