add ngcloak to resource base snippet, fixes #1768