Last post Mar 07, 2016 05:50 PM by sudip_inn
Mar 07, 2016 10:54 AM|sudip_inn|LINK
i always seen people first create module and then attach controller with module. so i am curious to know can i program angular controller without module ? i like to know suppose there will no single module but there will be few controller...........is it
Mar 07, 2016 11:03 AM|raju dasa|LINK
Check the basic example here for your requirement:
Mar 07, 2016 11:31 AM|sudip_inn|LINK
when without module in angular we can work with controller.........so tell me when model creation is required in angular ?
Mar 07, 2016 05:42 PM|raju dasa|LINK
you don't need to create model explicitly, you assign set of properties and objects directly to $scope or you use them directly in template (UI) and access them in an event.
Mar 07, 2016 05:50 PM|sudip_inn|LINK
sorry i wrote model instead of module.........my mistake. please answer the below question. thanks
tell me when module creation is required in angular ?