Workaround to allow e2e tests

Workaround to allow e2e tests for projets that want to use your directive, because if we use $timout the e2e test will hang.

More infos: 
http://zachsnow.com/#!/blog/2013/angularjs-headache-hanging-end-end-scenarios/

the workaround: 
http://stackoverflow.com/questions/16086681/why-is-angular-timeout-blocking-end-to-end-tests