Grid generator for AngualrJS