This project shows that how to use directives rather than use ng-controllers.