Moved some AngularJS code into repo