Elastic tile layout using Angular