angular.
module('item').
component('anDetail', {
templateUrl: localized.partials + '/item-detail.template.html',
controller: ['$routeParams',
function ItemDetailController($routeParams) {
this.itemId = $routeParams.itemId;
}
]
});