Sharing Top Content from the Angular-sphere.

Help with Angular JS, Scope and this • r/angularjs

  • I’ve made a pen to help illustrate my confusion

    I’m trying to open up a dialog and add a customer to the customers with the customer controller.

  • My main problem is I don’t understand when to use scope or this.
  • I think this belongs to the instance of the controller and scope is to any instance?
  • How come when I call

    I receive an error for the add customer function not being found?

  • EDIT: I think my confusion is because I’ve followed separate tutorials.

I’ve made a pen to help illustrate my confusion https://codepen.io/weldonjack/pen/RgRBzW?editors=1010 I’m trying to open up a dialog and add a…

@Beepop_Agency: Help with Angular JS, Scope and this:

I’m trying to open up a dialog and add a customer to the customers with the customer controller.

My main problem is I don’t understand when to use scope or this. I think this belongs to the instance of the controller and scope is to any instance? I’m not sure.

Help with Angular JS, Scope and this • r/angularjs

Comments are closed, but trackbacks and pingbacks are open.