I reviewed the attached tutorial, however, was unable to reproduce the below mentioned
error. The only change that you should make in the code, which is shown in it, is to change template directive with ng-template while using the ListView. For your convenience, I am attaching a sample project. You could review it and verify whether I am missing something.
Bear in mind that I tested this scenario with latest NativeScript version 3.2.1. If you are using some older version I would recommend upgrading to the new one.