I'm trying to figure out how to use function inside the src of ng-include but the code below doesn't work. I already tried using single quotation mark inside the double quotation mark but still not working.
TEMPLATE
<div ng-include src="{{templateUrl('tables/requestTable.html')}}"></div>
CONTROLLER
$scope.templateUrl = (url) => {
return 'https://example.com/url';
}