Discreet Cosine Transform

A few thoughts on ruby, video and other things

Missing Getter Error From Angulardart

If you create a Component in dart and find yourself getting an error of Missing getter when trying to access one of its public getters in the HTML template, see this github issue.

What I found hardest about this error is clearly something is picking up the HTML file as static changes you make to it will be dislayed (presumably because pub serve was correctly finding it), but it won’t reference back to your component correctly (I guess this is the angular transformers that are mentioned at the bottom of the post on github).

Another confusing part of this error is, at least as of this posting, the tutorial on the angulardart homepage has the paths as relative paths as well. I am currently using angulardart 1.1.0.

Just as is stated on the github, using a full path in templateUrl resolved the issue for me.

Comments