Use a new scope instead of $rootScope for directive specs

To mirror the controller spec template, the generated tests for directives
mock a new scope instead of working directly on the $rootScope with this patch.

/cc @stephenplusplus @btford