Random selector based on AngularJS