fix spec
move ng directives into separate file