An AngularJS controller is a JavaScript function that manages the data and behavior of a particular view or portion of a web application.