Fixed some buggy Angular snippets