Snippets via JEE + AngularJS