working grid in angular! on click runs funtions. need to update code to work with the new ng-classes