Basic angular directive : click in out
Click here
:: {{main.message}}
see browser console