Angular services and controllers moved out from main.js file

Angular services and controllers moved out from main.js file