this should be: attr.ngList not attr.$attr.ngList