A simple example of using Angular’s built in directives, such as ng-show, with our own.
ng-show
(reload the page to see the loading dialog overlay.)
This is a code excerpt from the book D3 on Angular. http://leanpub.com/d3angularjs