Page control not displaying first and last image

I have this project:

I display a modal and populate slides using the page control (from this example: using data from this array: imgarr.

It works, but the first and the last image are not displayed, and I cant figure out why.

Additionally, I’m getting a lot of XXX not found in data context errors, which I cant figure out why, since all observables are included in the modules.export?


Ok, issue was bad image that did not exist in the array. Solved. Not sure about the not found in data context issues.