practicing angularjs with grid and fancybox