File |
Mutation score |
# Killed |
# Survived |
# Timeout |
# No coverage |
# Errors |
Total detected |
Total undetected |
Total mutants |
|
---|---|---|---|---|---|---|---|---|---|---|
ProductDetailsController.js |
|
4/4 | 4 | 0 | 0 | 0 | 0 | 4 | 0 | 4 |
angular.module('juiceShop').controller('ProductDetailsController', 0[][
'$scope',
'$sce',
'$uibModal',
'ProductService',
'id',
function ($scope, $sce, $uibModal, productService, id) 1{
}{
'use strict'
productService.get(id).then(function (product) 2{
}{
$scope.product = product
$scope.product.description = $sce.trustAsHtml($scope.product.description)
}).catch(function (err) 3{
}{
console.log(err)
})
}])