add links for footer
factor out common .code class
set up state 3 input range and content
set up ng-repeat for cat slider
add cat data