Fixes circular dependancy error when uglified

This commit is contained in:
Jamie Sutherland
2013-12-17 17:02:12 +00:00
parent 45ef1a540a
commit 9f86324dd7

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({