unit-testing-angularjs-directive