add controller directive and display gem variable details on the page