controller scope inheritance