AngularJS Controller Function Definition


Example

var indexController = myApp.controller("indexController", function ($scope) {
    // Application logic goes here
});