upgraded to angular 1.3 and added routes