communicating to an outside controller through scope functions, correcting directive controller name