Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • Scopes
    • Scopes objects that contain functionality and data to use when rendering the view. It is the single source of truth for all views. You can think of scopes as view models.
    • Basic Functions
      • They provide observers to watch for model changes
      • They provide the ability to propagate model changes through the application as well as outside
        the system to other components
      • They can be nested such that they can isolate functionality and model properties.
      • They provide an execution environment in which expressions are evaluated.
  • Controllers
    • The controller in AngularJS is a function that adds additional functionality to the scope of the view. They are used to set up an initial state and to add custom behavior to the scope object.
    • To create custom actions we can call in our views, we can just create functions on the scope of the controller.

Building

TODO: add content here

...