Change to single directional binding on new directives
This commit is contained in:
parent
11a636021c
commit
129986c0f1
3 changed files with 3 additions and 3 deletions
|
@ -7,7 +7,7 @@ angular.module('quay').directive('labelInput', function () {
|
||||||
restrict: 'C',
|
restrict: 'C',
|
||||||
replace: true,
|
replace: true,
|
||||||
scope: {
|
scope: {
|
||||||
'labels': '=labels',
|
'labels': '<labels',
|
||||||
'updatedLabels': '=?updatedLabels',
|
'updatedLabels': '=?updatedLabels',
|
||||||
},
|
},
|
||||||
controller: function($scope) {
|
controller: function($scope) {
|
||||||
|
|
|
@ -8,7 +8,7 @@ angular.module('quay').directive('labelList', function () {
|
||||||
replace: true,
|
replace: true,
|
||||||
scope: {
|
scope: {
|
||||||
expand: '@expand',
|
expand: '@expand',
|
||||||
labels: '=labels'
|
labels: '<labels'
|
||||||
},
|
},
|
||||||
controller: function($scope) {}
|
controller: function($scope) {}
|
||||||
};
|
};
|
||||||
|
|
|
@ -8,7 +8,7 @@ angular.module('quay').directive('labelView', function () {
|
||||||
replace: true,
|
replace: true,
|
||||||
scope: {
|
scope: {
|
||||||
expand: '@expand',
|
expand: '@expand',
|
||||||
label: '=label'
|
label: '<label'
|
||||||
},
|
},
|
||||||
controller: function($scope, $sanitize) {
|
controller: function($scope, $sanitize) {
|
||||||
$scope.getKind = function(label) {
|
$scope.getKind = function(label) {
|
||||||
|
|
Reference in a new issue