In AngularJS to provide data and logic into HTML java script function is used which is known as Controller.