Skip to Content
avatar image
Former Member

Single controller vs Multiple views

Hi,

I am using two different types of views but both are having common controller its "view1 controller.js." In my requirement get the view2 input field value.

I am not able to get the ID of input control which is in view2. Can any one help me on this

Best Regards

Sravya.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Apr 10, 2017 at 06:03 AM

    What code have you written in the view1.controller.js file to retrieve the view2 input field value? Also what is the reason you are using a common controller for multiple views and not a dedicated controller for each view?

    Add comment
    10|10000 characters needed characters exceeded