simplifing gallery controller setImage() function
moving product directives to product.js
moving partial routes to index
adding json service