Further approach for recursion in angular: support as attribute directive