loading categories from server and show it in template done.
click event and load deals by category added in template