doing some route enforcement and making toggle buttons ng-repeat based on apiCategories object
linted