add routing and ng-view
change updating to accept altered category