simple $compile example