I have two functions inside my controller
$scope.first = function()
{
console.log("first");
}
$scope.second = function()
{
console.log("hello");
}
Now in my template i give call to first function
<button ng-click="first()">click</button>
Now I want that as soon as my first function complete its execution, automatically my second function starts executing without any click.
That is on single click first function executes and then second function executes respectively.