grid layout system script
altered script to work with angular ng-repeat rather than passed data, added neccessary directives controllers and filters, minor styling