Fixed issue #180 with angular snippets corrupted