Playing with JGit and Angular JS