make isolated scope to the grid

The grid should have isolated scope for avoiding collisions.
sending all the data to the grid using the "grid" attribute on the directive.