Compile Angular templates