Including td-cards in a template page

Hello everyone !

I’m having a little issue trying to combine 2 projects that I made.

One is a customization of the td-cards example, available here :
http://blog.ionic.io/tinder-for-x/

Other one is a custom side menu

Both are separated projects but i want the td-card project index.html to be my mainpage.html in the menu project, but it seems that the td-cards js just fucks up everything in my menu, anyone could have an idea on how to export one project as a page in the other ?

[EDIT] : i forgot to mention that i had the error :
Error: [ng:areq] Argument 'MyCtrl' is not a function, got undefined