Remove extraneous 'function' identifier in $components declaration within AppController