angular - directive : compile, pre e post
js ui - react tutorial