Revert "added necesary code for foundation to work"

This reverts commit 01547a488c1b34334e848615fa650821507d2775.
Added all foundation js and created main.html
added config for X-Requested-With

allows angular to fetch data form external server