add some snip for js and angular