提交 33f9bae1 编写于 作者: P Piotr Bryk

Merge pull request #166 from floreks/stringify-props

Stringified bindToController and locals properties
......@@ -30,7 +30,7 @@ export default function showNamespaceDialog(mdDialog, event, namespaces) {
targetEvent: event,
templateUrl: 'deploy/createnamespace.html',
locals: {
namespaces: namespaces,
'namespaces': namespaces,
},
});
}
......@@ -18,9 +18,9 @@ export default function deployFromFileDirective() {
return {
scope: {},
bindToController: {
name: '=',
namespace: '=',
detail: '=',
'name': '=',
'namespace': '=',
'detail': '=',
},
controller: DeployFromFileController,
controllerAs: 'ctrl',
......
......@@ -22,9 +22,9 @@ export default function deployFromSettingsDirective() {
return {
scope: {},
bindToController: {
name: '=',
namespace: '=',
detail: '=',
'name': '=',
'namespace': '=',
'detail': '=',
},
controller: DeployFromSettingsController,
controllerAs: 'ctrl',
......
......@@ -26,8 +26,8 @@ export default function labelDirective() {
templateUrl: 'deploy/deploylabel.html',
scope: {},
bindToController: {
label: '=',
labels: '=',
'label': '=',
'labels': '=',
},
};
}
......@@ -24,7 +24,7 @@ export default function uploadDirective() {
return {
scope: {},
bindToController: {
file: '=',
'file': '=',
},
controller: UploadController,
controllerAs: 'ctrl',
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册