How to make a function move out of template?


#1

Using Angular JS w/ Meteor
I am not quite sure how or if you can do this. Essentially I have a modal (button morph) in its own template, and once I click a button in it, I would like to add data from that template to the main web page.

Edit: Here is what I want to actually do…
http://stackoverflow.com/questions/41094431/function-takes-data-in-template-to-main-template-in-meteor-w-angularjs


#2

Would really appreciate some help!