.

Learning angular: first component



Posted on

Baby made her first component, declared it in NgModule and called it into the “app component” html file. Did I fully understand wtf I’m doing? Sort of but not enough. I guess I’ll get more used to it as I go.

 

 

 

Mistakes I made:

  • Adding commas after every line or forgetting to add commas.
  • Typing “template” instead of “templateUrl”
  • Forgetting that camel casing is a thing, because javascript.

by

Comments

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Stay in touch

Get more informal notes, summaries, and screenshots, on the business of making digital products and running a calm creative business by signing up to my newsletter