Code coverage report for app/components/phone-table/phone-table.directive.js

Statements: 100% (12 / 12)      Branches: 100% (4 / 4)      Functions: 100% (2 / 2)      Lines: 100% (4 / 4)      Ignored: 1 branch     

All files » app/components/phone-table/ » phone-table.directive.js
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23                                       
import PhoneTableController from './phone-table.controller';
import phoneTableHtml from './phone-table.jade';
 
function PhoneTableDirective () {
    return {
        restrict: 'AE',
        scope: {},
        controller: PhoneTableController.name,
        controllerAs: 'table',
        bindToController: {
            phones: '=',
            firstButtonClick: '&',
            secondButtonClick: '&'
        },
        template: phoneTableHtml
    };
}
 
PhoneTableDirective.$inject = [];
 
export default PhoneTableDirective;