got a REST call working using angular
a little cleanup