sample route code moved to ng-sample namespace
removed unused vars.