ng-change added, sorting PR test working
viewPr method added