Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

8
  • Ah thank you !...Yes it is somewhat similar to what I am trying to do. I will give it a try and will post back if it worked Commented Jun 18, 2018 at 16:52
  • if you have never worked with an output, just letting you know that the stateChangeObj defined in the html is supposed to be the key in the object you pass to the output. Commented Jun 18, 2018 at 16:55
  • I cannot do it this way. I have to pass a variable using "=" . Commented Jun 18, 2018 at 17:03
  • that is two way bound variable. if you are using < angularjs 1.5 outputs are not yet available. Commented Jun 18, 2018 at 17:08
  • 1
    The standard convention is to prefix arguments local to the child scope with a $ sign. Use $event to denote a change object. Commented Jun 18, 2018 at 18:32