enclosed each angular file's code in anonymous function to hide var names

angular is now returning data from node server