mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2026-03-13 10:22:08 +08:00
Fixes circular dependancy error when uglified
This commit is contained in:
4
js/ext/angular/src/directive/ionicList.js
vendored
4
js/ext/angular/src/directive/ionicList.js
vendored
@@ -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({
|
||||
|
||||
Reference in New Issue
Block a user