11 lines
259 B
JavaScript
11 lines
259 B
JavaScript
|
angular.
|
||
|
module('item').
|
||
|
component('anDetail', {
|
||
|
templateUrl: 'app/catalog/item-detail.template.html',
|
||
|
controller: ['$routeParams',
|
||
|
function ItemDetailController($routeParams) {
|
||
|
this.itemId = $routeParams.itemId;
|
||
|
}
|
||
|
]
|
||
|
});
|