Skip to Content
0

Single controller vs Multiple views

Apr 08, 2017 at 02:40 PM

58

avatar image

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.

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

saurabh vakil Apr 10, 2017 at 06:03 AM
1

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?

Share
10 |10000 characters needed characters left characters exceeded