Skip to content

gurobokum/angular-static-if

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 

Repository files navigation

angular-static-if

Additional attribute directive ng-static-if

General difference between ng-if and ng-static-if,
that ng-static-if change template
and you could use, for example, recursion in template without some problems

For example, html for tree directive with recursion:

<ul>
    <li ng-repeat>
        <title>{{node.name}}</title>
        <div ng-static-if="node.children.length">
            <tree val="{{node.children}}"/>
        </div>
   </li>
</ul>

How to use it look in examples/

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published