fix(ngStaticDirective): support non-file format
test(ngStaticDirective): unit test