First version complete.
Uses copied code, with minimal angularisms
moved main file to index.html name
updated all functions to use angular $http methods, AFAP