controller_1: There are 2 fields in settings view (field1 has default value and field2 is the required field and both are associated)
Controller_2: Publish the form but before publish check whether field1 and field2 of settings view is correct. (if field1 == def_val && !field2) How to verify the fields of controller_1 in controller_2 without any event on controller_1? In a case where the user doesnot make any modifications in the settings and publish the form. How to make sure that the field2 which is required field in settings view is non-empty without any event on settings view? On Wednesday, February 14, 2018 at 11:46:36 PM UTC-8, [email protected] wrote: > Is it feasible to access a controller_1 method from another controller_2 > using service when there is no event on controller_1 that will update the > service? > -- You received this message because you are subscribed to the Google Groups "Angular and AngularJS discussion" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/angular. For more options, visit https://groups.google.com/d/optout.
