changing from testacular to upgraded karma-runner
refactor directive test