Using the transclude function

Objectives

  • Manually transclude DOM into our template without ng-transclude

Instructions

Take a look at the UserProfile directive in this repo. .

Now that we know how to do manual transclusion, add a link function to insert the contents into our directive using manual transclusion.