A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/craigburke/angular-annotate-asset-pipeline below:

craigburke/angular-annotate-asset-pipeline: AngularJs Annotation module for the Asset Pipeline

Since the parameter names are significant for AngularJS to do dependency injection and most minifiers rename parameters, you have to use inline annotations. See A Note on Minification

This plugin uses ng-annotate v1.2.1 to add those inline annotations and make your angular files safe to minify.

For example this

function IndexController($scope) {
    $scope.message = "Hello world";
};

Will be automatically annotated like so:

function IndexController($scope) {
    $scope.message = "Hello world";
};
IndexController.$inject = ["$scope"];

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4