changing to ng-route