Looks identical to the issue I questioned yesterday ( forum link )
I think the issue is that it’s within the project scope ( the $. syntax ) - I just don’t know whether it’s an actual issue or why.
I bet if you move the model {} to an external script, then apply from: ‘external-script’ within the project it all magically works.
Sorry to not be of more help.