Merge pull request #336 from mallzee/uglify-fix

Fixes circular dependancy error when uglified
This commit is contained in:
Max Lynch
2013-12-17 09:20:29 -08:00

View File

@@ -111,10 +111,10 @@ angular.module('ionic.ui.list', ['ngAnimate'])
template: '<div class="list" ng-class="{\'list-editing\': showDelete, \'list-reordering\': showReorder}" ng-transclude></div>',
controller: function($scope, $attrs) {
controller: ['$scope', '$attrs', function($scope, $attrs) {
this.scope = $scope;
this.attrs = $attrs;
},
}],
link: function($scope, $element, $attr) {
$scope.listView = new ionic.views.ListView({