Add angular directive lifecycle post