Fixed an issue where foundation isn't loaded on pageload

Added a run method to the base of the angular application to call
foundation and initialize it once at the end of page load.