TMJ Show Modal Demo


Default Modal

everything you passes in modal can be use by calling the controller alias dmic.{passAttribute}


                

                

                

With Form Data Modal


#Saving (always in POST method)




                

                

                

#Saving with Angular Resource

if there is no service specified it means the input itself is a resource (e.g. formData.$save.then(function(result){ }))


                

                

                

#Saving with File





                

                

                

#Keeping the modal open after save

- make sure `keepOpen:true` is added and result will be received if you close the modal


                

                

                

#Adding another function