Updated webapp with angularjs proper routing