Modifications for Angular1.2.1

Changes for AngularJS 1.2.1, i.e. using ngRoute for Routing