So I\'m running through the tutorial for AngularJS:
I have an array defined in the controller and i\'m returning different points in the array by calling when i\'m l
I think the answer needs an update.
Previously you could use ngIf directive from AngularUI project (code here if you still want to download it), bad news is that it's not maintained any more.
The good news is that it has been added to the official AngularJS repo (unstable branch) and soon will be available in the stable one.
Foo bar
Will not just hide the DIV
element, but remove it from DOM as well (when something is falsy).