我正在使用symfony 2处理角度JS应用程序,并且我试图修改现有代码。我想展示Breadcrumbs。当前代码:
.state('app.marketplace.buyersedit', {
url: '/buyers/edit/:id',
templateUrl: '/bundles/ubidelectricity/js/components/Buyer/buyer_form.html',
title: 'content.list.EDITBUYER',
ncyBreadcrumb: {
label: 'content.list.EDITBUYER'
},
resolve: loadSequence('BuyerFormCtrl', 'buyerService', 'buyerTypeService', 'countryService', 'languageService', 'regionService', 'userService', 'categoryService', 'languageService', 'ui.select', 'monospaced.elastic', 'touchspin-plugin', 'checklist-model', 'ckeditor-plugin', 'ckeditor')
}).state('app.marketplace.buyersdetails', {
url: '/buyers/details/:id',
templateUrl: '/bundles/ubidelectricity/js/components/Buyer/buyer.html',
ncyBreadcrumb: {
label: 'content.list.BUYERDETAILS'
},
resolve: loadSequence('BuyerCtrl', 'buyerService')
}
我如何显示面包屑?
答案 0 :(得分:0)
ncyBreadcrumb: {
label: '{{content.list.BUYERDETAILS}}'
}
使用括号而不是引号