Thoughts

Notes: How To Get Up Early

  • If there’s something it is not about, it’s resolution and willpower.
  • If there’s something it is about, it’s tweaking the environment until finding the one that works.
  • The environment shapes people within much more than people realise.
  • There’s no one-size-fit-all cookie-cutter solution. It’s different for everyone and it takes imagination, creativity and willingness to try and fail dozens of times.

Continue reading

Standard
AngularJS, JavaScript

All Angular Directives That Create Child Scopes

Have this list firmly registered somewhere in the back of your head before embarking on Angular! I can’t tell you how much confusion and pain not realising its existence has caused me. These are the keywords I used to find all the directives that create scope, thanks to @sp00m’s prompt.

Providing that Angular’s documentation is consistent in the way they describe directives, which it seems to be, below is the full list of results, in order of priority level of execution:

  1. 1200, ngSwitch
  2. 1000, ngRepeat
  3. 600, ngIf
  4. 500, ngController
  5. 400, ngInclude
  6. 400, ngView
  7. 0, ngMessage
Standard