Seems like it is working properly. Needed to move the scope.userID to the top of the controller. Now Testing again.