simple gallery on scala + angularjs