Updates the ngcontroller snippet.