registration through ng-view done