docs(directive): Adding documentation and example of using a templateUrl function to the directive developer guide.

Adding documentation and example of using a templateUrl function to the directive developer guide.

Related to angular/angular.js#2895