demonstrate the use of $compile to dynamically add dom elements