angular controller and decorator snippets updated