creating arrays of dog object and then using json_encode
adding restApiRouter to the constants
using the apirouter to return the json data for dogs
using ng-repeat to print dogs data