Fixes the === and adds the forEach loop.

We add the === to our integer compares and utilize the angular.forEach
function to loop through the slider array.