The extra code needed to avoid the minify problem is clunky and redundant
(see example *bold* below). Is there a utility that both inserts that
extra code and minifies the file?
phonecatControllers.controller('PhoneListCtrl', *['$scope', '$http',*
function($scope, $http) {
$http.get('phones/phones.json').success(function(data) {
$scope.phones = data;
});
}*]*);
I'm a newbie, so tell me if I'm missing something.
--
You received this message because you are subscribed to the Google Groups
"AngularJS" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.